Open topic with navigation

TIBCO Rendezvous® 8.7.0

# Message.RegisterCustomDataType

Method

## Visual Basic

    Public Shared Sub RegisterCustomDataType(
        ByVal type As Type,
        ByVal customDataTypeAdapter As ICustomDataTypeAdapter)

## C#

    public static void RegisterCustomDataType(
        Type type,
        ICustomDataTypeAdapter customDataTypeAdapter);

## Purpose

Register a custom datatype for automatic encoding and decoding.

Parameter | Description
``type`` | Register this .NET type (that is, a class defined in your program) as a Rendezvous custom datatype.
``customDataTypeAdapter`` | Register this adapter class (defined in your program) to encode and decode instances of the custom datatype.

## See Also

ICustomDataType

ICustomDataTypeAdapter

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.