語言

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 。

適用於