ModelElement.OnCopy(ModelElement) Method

Definition

Called when a copy of the element has been created. The method is called on the duplicate element.

C++
protected public:
 virtual void OnCopy(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement);

Parameters

sourceElement
ModelElement

Element from which was duplicated.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022