ModelElement::OnCopy Method (ModelElement^)

 

Called when this element has been created as a copy of another element.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public protected:
virtual void OnCopy(
	ModelElement^ sourceElement
)

Parameters

sourceElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The element from which a duplicate was created.

This method is called on the new the element.

Return to top
Show: