PropertyCollection.Item Property (String)

Gets or sets the first property value that is stored with the specified property name.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.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

Property Value

Type: System.String
The first property value that is stored with the specified property name.

Remarks

This property provides the ability to access a specific element in the collection by using the following syntax: myCollection["Property Name"].

.NET Framework Security

See Also

Reference

PropertyCollection Class

Item Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace