TextSearch.GetText(DependencyObject) Méthode

Définition

Retourne la chaîne qui identifie l’élément spécifié.

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

Paramètres

element
DependencyObject

Élément à partir duquel la valeur de la propriété est lue.

Retours

Chaîne qui identifie l’élément spécifié.

Attributs

Remarques

Cette méthode retourne la valeur de la Text propriété jointe à partir de l’élément spécifié.

S’applique à