Partager via


IQueryCondition.GetPropertyValue, méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

Retourne la valeur d'une propriété donnée, si elle figure dans cette condition de requête.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
Function GetPropertyValue ( _
    nameOfProperty As String _
) As Object
Object GetPropertyValue(
    string nameOfProperty
)
Object^ GetPropertyValue(
    String^ nameOfProperty
)
abstract GetPropertyValue : 
        nameOfProperty:string -> Object 
function GetPropertyValue(
    nameOfProperty : String
) : Object

Paramètres

Valeur de retour

Type : System.Object
Valeur de la propriété ou nullune référence null (Nothing en Visual Basic) si elle n'existe pas.

Sécurité .NET Framework

Voir aussi

Référence

IQueryCondition Interface

Microsoft.VisualStudio.TestTools.UITest.Extension, espace de noms