Condividi tramite


Metodo GetExistingObjectByKey

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Protected Overrides Function GetExistingObjectByKey ( _
    key As K _
) As T
'Utilizzo
Dim key As K
Dim returnValue As T

returnValue = Me.GetExistingObjectByKey(key)
protected override T GetExistingObjectByKey(
    K key
)
protected:
virtual T GetExistingObjectByKey(
    K key
) override
abstract GetExistingObjectByKey : 
        key:'K -> 'T 
override GetExistingObjectByKey : 
        key:'K -> 'T 
protected override function GetExistingObjectByKey(
    key : K
) : T

Parametri

  • key
    Tipo: K
    The existing key object in the collection.

Valore restituito

Tipo: T
The current object in the collection that contains a key.