Skip to main content
All docs
V25.2
  • PresentationDictionary<TKey, TValue>.Contains(KeyValuePair<TKey, TValue>) Method

    Determines whether the dictionary contains a specific key-value pair.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public bool Contains(
        KeyValuePair<TKey, TValue> item
    )

    Parameters

    Name Type Description
    item KeyValuePair<TKey, TValue>

    The key-value pair to locate in the dictionary.

    Returns

    Type Description
    Boolean

    true if the dictionary contains the specified key-value pair; otherwise, false.

    Implements

    Contains(KeyValuePair<TKey, TValue>)
    See Also