MessagePackObjectDictionaryRemove Method |
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public bool Remove(
MessagePackObject key
)
Public Function Remove (
key As MessagePackObject
) As Boolean
public:
virtual bool Remove(
MessagePackObject key
) sealed
abstract Remove :
key : MessagePackObject -> bool
override Remove :
key : MessagePackObject -> bool
Parameters
- key
- Type: MsgPackMessagePackObject
The key of the element to remove.
Return Value
Type:
Booleantrue if the element is successfully removed; otherwise,
false.
This method also returns false if
key was not found in the original
MessagePackObjectDictionary.
Implements
IDictionaryTKey, TValueRemove(TKey)Exceptions Remarks
This method approaches an O(1) operation.
See Also