Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method ContainsValue

    ContainsValue(TValue, IEqualityComparer<TValue>?)

    Determines whether the dictionary contains a value equal to the specified value.

    Declaration
    public bool ContainsValue(TValue value, IEqualityComparer<TValue>? comparer = null)
    Parameters
    Type Name Description
    TValue value

    The value to locate.

    IEqualityComparer<TValue> comparer

    The comparer to use to determine equality of the values, or null to use the default comparer.

    Returns
    Type Description
    bool
    Exceptions
    Type Condition
    ObjectDisposedException

    The dictionary has been disposed.

    © Singulink. All rights reserved.