Table of Contents

Property IDictionary.this

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

IDictionary.this[object]

Gets or sets the element with the specified key.

object? IDictionary.this[object key] { get; set; }

Parameters

key object

The key of the element to get or set.

Returns

object

The element with the specified key, or null if the key does not exist.

Exceptions

ArgumentNullException

key is null.

NotSupportedException

The property is set and the IDictionary object is read-only.

-or-

The property is set, key does not exist in the collection, and the IDictionary has a fixed size.