Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Property this

    this[TKey]

    Gets or sets the value associated with the specified key. Setting a value replaces any existing value for the key.

    Declaration
    public TValue this[TKey key] { get; set; }
    Parameters
    Type Name Description
    TKey key
    Property Value
    Type Description
    TValue
    Exceptions
    Type Condition
    KeyNotFoundException

    The key does not exist in the dictionary, or its value has been garbage collected.

    ObjectDisposedException

    The dictionary has been disposed.

    © Singulink. All rights reserved.