Share via


IMetadataOrderedCollection<T>.Item Property (Int32)

Gets the element at the specified index.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Usage
Dim instance As IMetadataOrderedCollection
Dim index As Integer
Dim value As T

value = instance(index)
T this[
    int index
] { get; }
property T default[int index] {
    T get (int index);
}
abstract Item : 'T
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    The zero-based index of the element to get.

Property Value

Type: T
The element at the specified index.