Share via


SfcReferenceCollection<K, T, S>.Item Property

Gets the element associated with the specified key.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Usage
Dim instance As SfcReferenceCollection 
Dim key As K
Dim value As T

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

Parameters

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

Property Value

Type: T
The element associated with the specified key.

Implements

IReadOnlyDictionary<K, T>.Item[K]

See Also

Reference

SfcReferenceCollection<K, T, S> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace