Share via


ModelElement.Copy Method

Creates a copy of the element in the model.

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

Syntax

'Declaration
Public Function Copy As ModelElement
'Usage
Dim instance As ModelElement 
Dim returnValue As ModelElement 

returnValue = instance.Copy()
public ModelElement Copy()
public:
ModelElement^ Copy()
public function Copy() : ModelElement

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The copy of the ModelElement.

.NET Framework Security

See Also

Reference

ModelElement Class

ModelElement Members

Copy Overload

Microsoft.VisualStudio.Modeling Namespace