Method IReadOnlyCollectionDictionary<TKey, TValue, IKeyedSet<TKey, TValue>>.TryGetValues
IReadOnlyCollectionDictionary<TKey, TValue, IKeyedSet<TKey, TValue>>.TryGetValues(TKey, out IKeyedSet<TKey, TValue>)
Gets the keyed value collection associated with the specified key.
Declaration
bool IReadOnlyCollectionDictionary<TKey, TValue, IKeyedSet<TKey, TValue>>.TryGetValues(TKey key, out IKeyedSet<TKey, TValue> valueCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | The key whose value collection to get. |
| IKeyedSet<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. |