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

'宣言
Public Function Copy As ModelElement
'使用
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.

Permissions

See Also

Reference

ModelElement Class

ModelElement Members

Copy Overload

Microsoft.VisualStudio.Modeling Namespace