ReadOnlyMultiDictionaryBaseTKey, TValueTryEnumerateValuesForKey Method |
Enumerate all of the values associated with a given key. This method must be overridden
by the derived class. If the key exists and has values associated with it, an enumerator for those
values is returned throught values. If the key does not exist, false is returned.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxprotected abstract bool TryEnumerateValuesForKey(
TKey key,
out IEnumerator<TValue> values
)
protected:
virtual bool TryEnumerateValuesForKey(
TKey key,
[OutAttribute] IEnumerator<TValue>^% values
) abstract
Parameters
- key
- Type: TKey
The key to get values for. - values
- Type: System.Collections.GenericIEnumeratorTValue
If true is returned, this parameter receives an enumerators that
enumerates the values associated with that key.
Return Value
Type:
BooleanTrue if the key exists and has values associated with it. False otherwise.
See Also