Поделиться через


Свойство SfcReferenceCollection<K, T, S>.Item

Gets the element associated with the specified key.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Применение
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 поддерживает использование индексированных свойств, но не объявление новых.

Параметры

  • key
    Тип: K
    The key of the value to get.

Значение свойства

Тип: T
The element associated with the specified key.

Реализует

IReadOnlyDictionary<K, T>.Item[K]

См. также

Справочник

SfcReferenceCollection<K, T, S> Класс

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc