SfcCollatedDictionaryCollection<T, K, ParentT>.GetExistingObjectByKey Método
Uses the specified key to retrieve an existing object from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Protected Overrides Function GetExistingObjectByKey ( _
key As K _
) As T
'Uso
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
Parámetros
- key
Tipo: K
The key that identifies the object to get.
Valor devuelto
Tipo: T
An object from the collection or nulles una referencia NULL (Nothing en Visual Basic). if a matching object was not found.