Search
IItemFactory.CreateItem Method (Int32)
See Also
 





Creates a new object given its class id.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

IPersists CreateItem (
    int clsId
)

Visual Basic  Copy Code

Function CreateItem( _
    clsId As Integer _
) As IPersists

 Parameters

clsId

The class 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