MorphHelper.MorphObject(ModelItem, ModelItem) Method

Definition

Updates the model item references to the specified new model item in the model item parents and sources.

public:
 static void MorphObject(System::Activities::Presentation::Model::ModelItem ^ oldModelItem, System::Activities::Presentation::Model::ModelItem ^ newModelitem);
public static void MorphObject (System.Activities.Presentation.Model.ModelItem oldModelItem, System.Activities.Presentation.Model.ModelItem newModelitem);
static member MorphObject : System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.Model.ModelItem -> unit
Public Shared Sub MorphObject (oldModelItem As ModelItem, newModelitem As ModelItem)

Parameters

oldModelItem
ModelItem

The old model item to get the parents and sources of.

newModelitem
ModelItem

The new model item.

Applies to