Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the index in the Items of the selected item.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Property SelectedIndex As Integer
public virtual int SelectedIndex { get; set; }
public:
virtual property int SelectedIndex {
int get ();
void set (int value);
}
abstract SelectedIndex : int with get, set
override SelectedIndex : int with get, set
function get SelectedIndex () : int
function set SelectedIndex (value : int)
Property Value
Type: System.Int32
The index in the Items of the selected item.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace