Share via


Switcher.SelectedIndex Property

Gets or sets the index of the selected item in the control.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property SelectedIndex As Integer
    Get
    Set
'Usage
Dim instance As Switcher
Dim value As Integer

value = instance.SelectedIndex

instance.SelectedIndex = value
[BrowsableAttribute(true)]
public int SelectedIndex { get; set; }
[BrowsableAttribute(true)]
public:
property int SelectedIndex {
    int get ();
    void set (int value);
}
[<BrowsableAttribute(true)>]
member SelectedIndex : int with get, set
function get SelectedIndex () : int
function set SelectedIndex (value : int)

Property Value

Type: System.Int32
The index of the selected item in the Switcher control.