共用方式為


SfcReferenceCollection<K,T,S>.GetKeyFromValue(T) Method

Definition

Derived types implement this to obtain a key from the item value.

protected abstract K GetKeyFromValue (T value);
abstract member GetKeyFromValue : 'T -> 'K
Protected MustOverride Function GetKeyFromValue (value As T) As K

Parameters

value
T

The current item to use to obtain or calculate its key.

Returns

K

The key.

Applies to