Condividi tramite


Proprietà Item (Int32)

Gets the element at the specified index.

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: T
The element at the specified index.