Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method Remove

    Remove(TKey)

    Removes the value with the specified key from the dictionary.

    Declaration
    public bool Remove(TKey key)
    Parameters
    Type Name Description
    TKey key
    Returns
    Type Description
    bool

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

    Remove(TKey, out TValue)

    Removes the value with the specified key from the dictionary.

    Declaration
    public bool Remove(TKey key, out TValue value)
    Parameters
    Type Name Description
    TKey key

    The key of the value to remove.

    TValue value

    The value that was removed, otherwise null.

    Returns
    Type Description
    bool

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

    Remove(TKey, TValue, IEqualityComparer<TValue>?)

    Removes the entry with the given key and value from the dictionary using the specified equality comparer for the value type.

    Declaration
    public bool Remove(TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
    Parameters
    Type Name Description
    TKey key
    TValue value
    IEqualityComparer<TValue> comparer
    Returns
    Type Description
    bool
    © Singulink. All rights reserved.