This topic has not yet been rated - Rate this topic

ModelElement.OnCopy Method

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
protected internal 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ