Compartilhar via


UITestControlCollection.Item Property

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.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 : 
        index:int -> UITestControl with get, set
JScript does not support indexed properties.

Parameters

  • index
    Type: Int32

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

.NET Framework Security

See Also

Reference

UITestControlCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace