ASP.NET Pack Programmer's Guide
IItemFactory.CreateItem Method (Int32)
See Also
 





Creates a new object given its class id.

Namespace: MindFusion.Diagramming
Package: 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

CreateItem Method Overload List
IItemFactory Members
IItemFactory Interface
MindFusion.Diagramming Namespace