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

可識別項目的屬性名稱。

適用於