TextSearch.GetTextPath(DependencyObject) 方法

定義

傳回識別指定項目 (element) 集合中之項目 (item) 的屬性名稱。

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

要從中讀取屬性值的項目。

傳回

String

為使用者識別項目的屬性名稱。

屬性

備註

這個方法會從指定的專案傳回附加屬性的值 TextPath

適用於