Freigeben über


Item-Eigenschaft

Gets the item specified by the key. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    key As K _
) As T
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

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

Eigenschaftswert

Typ: T
The object specified by the key.