Message.RegisterCustomDataType
Method
Visual Basic
Public Shared SubRegisterCustomDataType(
ByVal type As Type,
ByVal customDataTypeAdapter As ICustomDataTypeAdapter)
C#
public static voidRegisterCustomDataType(
Type type,
ICustomDataTypeAdapter customDataTypeAdapter);
Purpose
Register a custom datatype for automatic encoding and decoding.
|
Parameter |
Description |
|
Register this .NET type (that is, a class defined in your program) as a Rendezvous custom datatype. |
|
Register this adapter class (defined in your program) to encode and decode instances of the custom datatype. |