[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
protected abstract bool TryEnumerateValuesForKey(
TKey key,
out IEnumerator<TValue> values
) |
Visual Basic (Declaration) |
---|
Protected MustOverride Function TryEnumerateValuesForKey ( _
key As TKey, _
<OutAttribute> ByRef values As IEnumerator(Of TValue) _
) As Boolean |
Parameters
- key
- TKey
The key to get values for.
- values
- IEnumerator<(Of <TValue>)>%
If true is returned, this parameter receives an enumerators that
enumerates the values associated with that key.
Return Value
True if the key exists and has values associated with it. False otherwise.
See Also