ExtTypeCodeMappingAdd Method |
Adds the known ext type mapping.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public bool Add(
string name,
byte typeCode
)
Public Function Add (
name As String,
typeCode As Byte
) As Boolean
public:
bool Add(
String^ name,
unsigned char typeCode
)
member Add :
name : string *
typeCode : byte -> bool
Parameters
- name
- Type: SystemString
The name of the ext type. - typeCode
- Type: SystemByte
The ext type code to be mapped.
Return Value
Type:
Booleantrue if
name AND
typeCode were not registered and then newly registered;
false, otherwise.
Exceptions See Also