Redigera

Dela via


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

Definition

Gets or sets the element with the specified key.

property System::Object ^ System::Collections::IDictionary::Item[System::Object ^] { System::Object ^ get(System::Object ^ key); void set(System::Object ^ key, System::Object ^ value); };
object? System.Collections.IDictionary.Item[object key] { get; set; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
 Property Item(key As Object) As Object Implements IDictionary.Item

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