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 。