Creates an instance of the specified class.
Namespace: MindFusion.Diagramming
Assembly: 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.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |