語言

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

用來識別物品的財產名稱。

適用於