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.