TextSearch.SetTextPath(DependencyObject, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 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
用來識別物品的財產名稱。