Share via


SfcCollection<T, K, ParentT>.Item Property

Gets the item specified by the key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

Type: T
The object specified by the key.