共用方式為


ISfcSimpleMap<TKey, TValue>.Item 屬性

Gets the elements for the indexer.

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
ReadOnly Default Property Item ( _
    key As TKey _
) As TValue
    Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。

參數

  • key
    型別:TKey
    The key of the value to get.

屬性值

型別:TValue
A value that represents the elements for the indexer.

請參閱

參考

ISfcSimpleMap<TKey, TValue> 介面

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間