SynchronizedKeyedCollection<K,T>.GetKeyForItem(T) 方法

定義

在衍生類別中覆寫時,取得指定項目的索引鍵。

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

參數

item
T

索引鍵已擷取之型別 T 的項目。

傳回

K

型別 之指定 的型別 K 索引鍵。

適用於