Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method TryGetValues

    TryGetValues(TKey, out IKeyedCollection<TKey, TValue>)

    Gets the keyed value collection associated with the specified key.

    Declaration
    bool TryGetValues(TKey key, out IKeyedCollection<TKey, TValue> valueCollection)
    Parameters
    Type Name Description
    TKey key

    The key whose value collection to get.

    IKeyedCollection<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.

    © Singulink. All rights reserved.