Share via


Switcher.SelectedView Property

Gets or sets the value of the selected index of the control.

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

Syntax

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

value = instance.SelectedView

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

Property Value

Type: Microsoft.SqlServer.Management.Controls.IView
An integer representing the selected index of the control.