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 命名空间