Creates an instance of the specified class.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
protected virtual IPersists CreateItem ( |
Visual Basic
![]() |
---|
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.
MvcDiagram Programmer's Guide | © 2023 MindFusion |