Share via


Switcher.ListViewCollection.Item Property

Gets a collection of Switcher.ListViewCollection objects that represent the data items of the current page of data in the control.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As IView
    Get
    Set
'Usage
Dim instance As Switcher..::..ListViewCollection
Dim index As Integer
Dim value As IView

value = instance(index)

instance(index) = value
public IView this[
    int index
] { get; set; }
public:
virtual property IView^ default[int index] {
    IView^ get (int index) sealed;
    void set (int index, IView^ value) sealed;
}
abstract Item : IView with get, set
override Item : IView with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    When this method returns, contains an [array] that represents the control. This parameter is passed uninitialized.

Property Value

Type: Microsoft.SqlServer.Management.Controls.IView
An array that represents the value of the index.

Implements

IList<T>.Item[Int32]