MorphHelper.MorphObject(ModelItem, ModelItem) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.