Registers a custom item class for serialization support.
Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms
C# Copy Code |
---|
public void RegisterItemType ( |
Visual Basic Copy Code |
---|
Public Sub RegisterItemType( _ |
A Type instance identifying the item class.
A class identifier to use when serializing, saving and loading items of the specified type.
A class identifier to use when serializing items of the specified type on the client side.
A revision number of the item's class serialization format.
This method associates .NET item types with JavaScript types used in Canvas mode, and internally calls the RegisterItemClass method of Diagram to register the custom types for serialization.