Register a custom serializer/deserializer by the type and type code specified.

Namespace: Hypertable.Persistence.Serialization
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static bool Register(
	int typeCode,
	Type type,
	Serialize serialize,
	Deserialize deserialize
)
Public Shared Function Register ( _
	typeCode As Integer, _
	type As Type, _
	serialize As Serialize, _
	deserialize As Deserialize _
) As Boolean
public:
static bool Register(
	int typeCode, 
	Type^ type, 
	Serialize^ serialize, 
	Deserialize^ deserialize
)

Parameters

typeCode
Int32
The type code.
type
Type
The type.
serialize
Serialize
The serialize delegate.
deserialize
Deserialize
The deserialize delegate.

Return Value

true if the serializer and deserialize delegate has been registered successfully, otherwise false.

See Also