PropertyExpressionCollection.Item Property

Returns the property expression that corresponds to the provided property name.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Default Property Item ( _
    propertyName As String _
) As String
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 : 
        propertyName:string -> string with get, set
JScript does not support indexed properties.

Parameters

  • propertyName
    Type: String

    The name of the property that specifies the expression to return.

Property Value

Type: String
The property expression that corresponds to the provided property name.

.NET Framework Security

See Also

Reference

PropertyExpressionCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

PropertyExpression