Proprietà ISfcSimpleMap<TKey, TValue>.Item

Gets the elements for the indexer.

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

Sintassi

'Dichiarazione
ReadOnly Default Property Item ( _
    key As TKey _
) As TValue
    Get
'Utilizzo
Dim instance As ISfcSimpleMap 
Dim key As TKey
Dim value As TValue

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

Parametri

  • key
    Tipo: TKey
    The key of the value to get.

Valore proprietà

Tipo: TValue
A value that represents the elements for the indexer.

Vedere anche

Riferimento

ISfcSimpleMap<TKey, TValue> Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc