SfcCollection<T, K, ParentT>.Item 属性

Gets the item specified by the key. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  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 SfcCollection 
Dim key As K
Dim value As T

value = instance(key)
public T this[
    K key
] { get; }
public:
property T default[K key] {
    T get (K key);
}
member Item : 'T
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

  • key
    类型:K
    The key that identifies the item to get.

属性值

类型:T
The object specified by the key.

请参阅

参考

SfcCollection<T, K, ParentT> 类

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