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

适用于