IReadOnlyDictionary<K, T>.Item 属性
Gets the value associated with the specified key.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
ReadOnly Default Property Item ( _
key As K _
) As T
Get
用法
Dim instance As IReadOnlyDictionary
Dim key As K
Dim value As T
value = instance(key)
T this[
K key
] { get; }
property T default[K key] {
T get (K key);
}
abstract Item : 'T
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- key
类型:K
The key of the value to get.
属性值
类型:T
The value of the specified key.