Method TryGetValues
TryGetValues(TKey, out IKeyedList<TKey, TValue>)
Gets the keyed value collection associated with the specified key.
Declaration
bool TryGetValues(TKey key, out IKeyedList<TKey, TValue> valueCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | The key whose value collection to get. |
| IKeyedList<TKey, TValue> | valueCollection | When this method returns, contains the keyed value collection associated with the specified key if the key was found; otherwise, null. |
Returns
| Type | Description |
|---|---|
| bool | true if the dictionary contains the specified key, otherwise false. |