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
- propertyName
Type: System.String
The property name.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.