OrderedDictionary<TKey,TValue>.IDictionary.Item[Object] Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the element with the specified key.

C#
object? System.Collections.IDictionary.Item[object key] { get; set; }

Parameters

key
Object

The key of the element to get or set.

Property Value

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

Implements

Applies to

Product Versions
.NET 9, 10