TextSearch.GetTextPath(DependencyObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳識別指定元素集合中項目的屬性名稱。
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 。