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 : string with get, set
JScript does not support indexed properties.

Parameters

  • propertyName
    Type: System.String
    The name of the property that specifies the expression to return.

Property Value

Type: System.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