MultiDictionaryTKey, TValueCountValues Method |
Gets the number of values associated with a given key.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxprotected override sealed int CountValues(
TKey key
)
protected:
virtual int CountValues(
TKey key
) override sealed
Parameters
- key
- Type: TKey
The key to count values of.
Return Value
Type:
Int32The number of values associated with
key. If
key
is not present in the dictionary, zero is returned.
See Also