Partager via


PropertyExpressionCollection.Item, propriété

Retourne l'expression de propriété correspondant au nom de propriété fourni.

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

Syntaxe

'Déclaration
Public Default Property Item ( _
    propertyName As String _
) As String
    Get
    Set
public string this[
    string propertyName
] { get; set; }
public:
property String^ default[String^ propertyName] {
    String^ get (String^ propertyName);
    void set (String^ propertyName, String^ value);
}
member Item : string with get, set
JScript ne prend pas en charge les propriétés indexées.

Paramètres

  • propertyName
    Type : System.String
    Nom de la propriété qui spécifie l'expression à retourner.

Valeur de propriété

Type : System.String
Expression de propriété correspondant au nom de propriété fourni.

Sécurité .NET Framework

Voir aussi

Référence

PropertyExpressionCollection Classe

Microsoft.VisualStudio.TestTools.UITesting, espace de noms

PropertyExpression