Share via


ISfcSimpleMap<TKey, TValue>.Item Property

Gets the elements for the indexer.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    key As TKey _
) As TValue
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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