ModelTreeManager.CreateModelItem(ModelItem, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.