TextSearch.GetText(DependencyObject) Metodo

Definizione

Restituisce la stringa che identifica l'elemento specificato.

public:
 static System::String ^ GetText(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static string GetText (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetText : System.Windows.DependencyObject -> string
Public Shared Function GetText (element As DependencyObject) As String

Parametri

element
DependencyObject

Elemento da cui viene letto il valore della proprietà.

Restituisce

Stringa che identifica l'elemento specificato.

Attributi

Commenti

Questo metodo restituisce il valore della Text proprietà associata dall'elemento specificato.

Si applica a