Edit

Share via


ModelTreeManager.CreateModelItem(ModelItem, Object) Method

Definition

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

public:
 System::Activities::Presentation::Model::ModelItem ^ CreateModelItem(System::Activities::Presentation::Model::ModelItem ^ parent, System::Object ^ instance);
public System.Activities.Presentation.Model.ModelItem CreateModelItem (System.Activities.Presentation.Model.ModelItem parent, object instance);
member this.CreateModelItem : System.Activities.Presentation.Model.ModelItem * obj -> System.Activities.Presentation.Model.ModelItem
Public Function CreateModelItem (parent As ModelItem, instance As Object) As ModelItem

Parameters

parent
ModelItem

The parent item.

instance
Object

The instance.

Returns

The new model item.

Applies to