Creates an instance of the specified class.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
protected virtual IPersists CreateItem ( |
Visual Basic Copy Code |
---|
Protected Overridable Function CreateItem( _ |
A string identifying class registered via the RegisterClass method.
An instance of the class.
By default, deserialized objects are instantiated via reflection if their class provides constructor without arguments. This method lets you create objects using a custom constructor.
NetDiagram Programmer's Guide | © 2023 MindFusion |