UITestControlCollection.Item Property
Gets or sets the UITestControlCollection at a given index.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Default Property Item ( _
index As Integer _
) As UITestControl
public UITestControl this[
int index
] { get; set; }
public:
property UITestControl^ default[int index] {
UITestControl^ get (int index);
void set (int index, UITestControl^ value);
}
member Item : UITestControl with get, set
JScript does not support indexed properties.
Parameters
- index
Type: System.Int32
The zero-based index of the element to get or set.
Property Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UITestControlCollection at the given index.
.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.