SfcReferenceCollection<K, T, S>.GetKeyFromValue Method
Obtains a key from the item value.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Protected MustOverride Function GetKeyFromValue ( _
value As T _
) As K
'Usage
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
Parameters
- value
Type: T
The current item to use to obtain or calculate its key.
Return Value
Type: K
The key obtained from the item value.