Condividi tramite


Proprietà Item

Gets the item specified by the key. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Utilizzo
Dim instance As SfcCollection
Dim key As K
Dim value As T

value = instance(key)
public T this[
    K key
] { get; }
public:
property T default[K key] {
    T get (K key);
}
member Item : 'T
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

  • key
    Tipo: K
    The key that identifies the item to get.

Valore proprietà

Tipo: T
The object specified by the key.