Click or drag to resize
Accord.NET (logo)

ReadOnlyKeyedCollectionTKey, TValueGetKeyForItem Method

When implemented in a derived class, extracts the key from the specified element.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
protected abstract TKey GetKeyForItem(
	TValue item
)
Request Example View Source

Parameters

item
Type: TValue
The element from which to extract the key.

Return Value

Type: TKey
The key for the specified element.
See Also