TextSearch.SetText(DependencyObject, String) メソッド

定義

Text 添付プロパティの値を指定された要素に書き込みます。Writes the Text attached property value to the specified element.

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

パラメーター

element
DependencyObject

プロパティ値の書き込み対象の要素。The element to which the property value is written.

text
String

項目を識別する文字列。The string that identifies the item.

適用対象