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

Object CreateItem (
    int clsId
)

Visual Basic  Copy Code

Function CreateItem( _
    clsId As Integer _
) As Object

 Parameters

clsId

The class id of the item to create.

 Return Value

An instance of the class with the specified id.

 See Also