Click or drag to resize
MultiDictionaryBaseTKey, TValueCountValues Method
Gets a count of the number of values associated with a key. The default implementation is slow; it enumerators all of the values (using TryEnumerateValuesForKey) to count them. A derived class may be able to supply a more efficient implementation.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
protected virtual int CountValues(
	TKey key
)

Parameters

key
Type: TKey
The key to count values for.

Return Value

Type: Int32
The number of values associated with key.
See Also