TextSearch.SetTextPath(DependencyObject, String) 方法

定义

TextPath 附加属性写入指定元素。

public:
 static void SetTextPath(System::Windows::DependencyObject ^ element, System::String ^ path);
public static void SetTextPath (System.Windows.DependencyObject element, string path);
static member SetTextPath : System.Windows.DependencyObject * string -> unit
Public Shared Sub SetTextPath (element As DependencyObject, path As String)

参数

element
DependencyObject

要写入属性值的元素。

path
String

标识项的属性的名称。

适用于