Click or drag to resize
MessagePackObjectDictionaryItem Property
Gets or sets the element with the specified key.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public MessagePackObject this[
	MessagePackObject key
] { get; set; }

Parameters

key
Type: MsgPackMessagePackObject
Key for geting or seting value.

Property Value

Type: MessagePackObject
The element with the specified key.

Implements

IDictionaryTKey, TValueItemTKey
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is Nil.
KeyNotFoundException The property is retrieved and key is not found.
InvalidOperationException The property is set and this instance is frozen.
Remarks

Note that tiny integers are considered equal regardless of its CLI Type, and UTF-8 encoded bytes are considered equals to String.

This method approaches an O(1) operation.

See Also