语言

TextSearch.GetTextPath(DependencyObject) 方法

定义

返回标识指定元素集合中的项的属性的名称。

public:
 static System::String ^ GetTextPath(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static string GetTextPath(System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetTextPath : System.Windows.DependencyObject -> string
Public Shared Function GetTextPath (element As DependencyObject) As String

参数

element
DependencyObject

从中读取属性值的元素。

返回

标识用户项的属性的名称。

特性

注解

此方法从指定的元素返回附加属性的值 TextPath 。

适用于