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

    Adds an element with the specified key and value to the dictionary.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public void Add(
        TKey key,
        TValue value
    )

    Parameters

    Name Type Description
    key TKey

    The key of the element to add.

    value TValue

    The value of the element to add. The value can be null for reference types.

    Implements

    Add(TKey, TValue)
    See Also