MessagePackObjectDictionaryItem Property |
Gets or sets the element with the specified key.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public MessagePackObject this[
MessagePackObject key
] { get; set; }
Public Default Property Item (
key As MessagePackObject
) As MessagePackObject
Get
Set
public:
virtual property MessagePackObject default[MessagePackObject key] {
MessagePackObject get (MessagePackObject key) sealed;
void set (MessagePackObject key, MessagePackObject value) sealed;
}
abstract Item : MessagePackObject with get, set
override Item : MessagePackObject with get, set
Parameters
- key
- Type: MsgPackMessagePackObject
Key for geting or seting value.
Property Value
Type:
MessagePackObject
The element with the specified key.
Implements
IDictionaryTKey, TValueItemTKeyExceptions 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