ModelTreeManager.CreateModelItem Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a model item based on the specified parent and instance.

Namespace:  System.Activities.Design.ModelTree
Assembly:  System.Activities.Design (in System.Activities.Design.dll)


Public Function CreateModelItem ( _
    parent As ModelItem, _
    instance As Object _
) As ModelItem
Dim instance As ModelTreeManager
Dim parent As ModelItem
Dim instance As Object
Dim returnValue As ModelItem

returnValue = instance.CreateModelItem(parent, _
public ModelItem CreateModelItem(
    ModelItem parent,
    Object instance
ModelItem^ CreateModelItem(
    ModelItem^ parent, 
    Object^ instance
public function CreateModelItem(
    parent : ModelItem, 
    instance : Object
) : ModelItem
member CreateModelItem : 
        parent:ModelItem * 
        instance:Object -> ModelItem 


Return Value

Type: System.Activities.Design.Model.ModelItem
Returns a ModelItem that contains the new model item.

.NET Framework Security


Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also


ModelTreeManager Class

ModelTreeManager Members

System.Activities.Design.ModelTree Namespace