Click or drag to resize
OrderedDictionaryTKey, TValueItem Property
Gets or sets the value associated with a given key. When getting a value, if this key is not found in the collection, then an ArgumentException is thrown. When setting a value, the value replaces any existing value in the dictionary.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public override sealed TValue this[
	TKey key
] { get; set; }

Parameters

key
Type: TKey

Property Value

Type: TValue
The value associated with the key

Implements

IDictionaryTKey, TValueItemTKey
Exceptions
ExceptionCondition
ArgumentExceptionA value is being retrieved, and the key is not present in the dictionary.
ArgumentNullExceptionkey is null.
Remarks
The indexer takes time O(log N), where N is the number of entries in the dictionary.
See Also