TryEnumerateValuesForKey Method
From Wintellect PowerCollections
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Determines if this dictionary contains a key equal to key. If so, all the values
associated with that key are returned through the values parameter.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
protected bool TryEnumerateValuesForKey( TKey key, out IEnumerator<TValue> values ) |
| Visual Basic (Declaration) |
|---|
Protected Function TryEnumerateValuesForKey ( _ key As TKey, _ <OutAttribute> ByRef values As IEnumerator(Of TValue) _ ) As Boolean |
| Visual C++ |
|---|
protected: virtual bool TryEnumerateValuesForKey ( TKey key, [OutAttribute] IEnumerator<TValue>^% values ) sealed |
Parameters
- key
- TKey
The key to search for.
- values
- IEnumerator<(Of <TValue>)>%
Returns all values associated with key, if true was returned.
Return Value
True if the dictionary contains key. False if the dictionary does not contain key.
See Also
Wintellect.PowerCollections Namespace