Compartir a través de


ModelElement.OnCopy(ModelElement) Method

Definition

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.

Applies to