Partager via


Méthode GetExistingObjectByKey

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Protected Overrides Function GetExistingObjectByKey ( _
    key As K _
) As T
'Utilisation
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

Paramètres

  • key
    Type : K
    The object to locate in the list collection.

Valeur de retour

Type : T
The existing objects in the collection that contains a specified key.