Partilhar via


Método SfcReferenceCollection<K, T, S>.GetKeyFromValue

Obtains a key from the item value.

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

Sintaxe

'Declaração
Protected MustOverride Function GetKeyFromValue ( _
    value As T _
) As K
'Uso
Dim value As T
Dim returnValue As K

returnValue = Me.GetKeyFromValue(value)
protected abstract K GetKeyFromValue(
    T value
)
protected:
virtual K GetKeyFromValue(
    T value
) abstract
abstract GetKeyFromValue : 
        value:'T -> 'K 
protected abstract function GetKeyFromValue(
    value : T
) : K

Parâmetros

  • value
    Tipo: T
    The current item to use to obtain or calculate its key.

Valor de retorno

Tipo: K
The key obtained from the item value.

Consulte também

Referência

SfcReferenceCollection<K, T, S> Classe

Namespace Microsoft.SqlServer.Management.Sdk.Sfc