共用方式為


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