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

    Tries to get the value associated with the specified key.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public bool TryGetValue(
        TKey key,
        out TValue value
    )

    Parameters

    Name Type Description
    key TKey

    The key of the value to get.

    value TValue

    The value associated with the specified key.

    Returns

    Type Description
    Boolean

    true if the dictionary contains an element with the specified key; otherwise, false.

    Implements

    TryGetValue(TKey, TValue)
    See Also