SfcReferenceCollection<K, T, S>.GetKeyFromValue 方法

Obtains a key from the item value.

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Protected MustOverride Function GetKeyFromValue ( _
    value As T _
) As K
用法
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

参数

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

返回值

类型:K
The key obtained from the item value.

请参阅

参考

SfcReferenceCollection<K, T, S> 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间