Search
IItemFactory.CreateItem Method
See Also
 





Creates a new object given its item class string identifier.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

Object CreateItem (
    string itemClass
)

Visual Basic  Copy Code

Function CreateItem( _
    itemClass As String _
) As Object

 Parameters

itemClass

The class string id of the item to create.

 Return Value

An instance of a class implementing the IPersists interface corresponding to the class with the specified id.

 See Also