ModelElement.OnCopy(ModelElement) 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.
Called when a copy of the element has been created. The method is called on the duplicate element.
protected public:
virtual void OnCopy(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement);
protected internal virtual void OnCopy (Microsoft.VisualStudio.Modeling.ModelElement sourceElement);
abstract member OnCopy : Microsoft.VisualStudio.Modeling.ModelElement -> unit
override this.OnCopy : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Protected Friend Overridable Sub OnCopy (sourceElement As ModelElement)
Parameters
- sourceElement
- ModelElement
Element from which was duplicated.