Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method Clear

    Clear()

    Removes all keys and values from the dictionary and associated value collections.

    Declaration
    void Clear()

    Clear(TKey)

    Removes the values in the collection associated with the specified key and removes the key from the dictionary.

    Declaration
    bool Clear(TKey key)
    Parameters
    Type Name Description
    TKey key
    Returns
    Type Description
    bool

    true if the key was found and removed, otherwise false.

    © Singulink. All rights reserved.