Creates an instance of the specified class.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
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.
RemarksBy default, deserialized objects are instantiated via reflection if their class provides constructor without arguments. This method lets you create objects using a custom constructor.
See Also