Partager via


ModelElement.Copy Method

Definition

Overloads

Copy()

Creates a copy of the element in the model.

Copy(IEnumerable<Guid>)

Creates a copy of the element in the model.

Copy()

Creates a copy of the element in the model.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ Copy();
[System.Diagnostics.DebuggerStepThrough]
public Microsoft.VisualStudio.Modeling.ModelElement Copy ();
[<System.Diagnostics.DebuggerStepThrough>]
member this.Copy : unit -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function Copy () As ModelElement

Returns

Copied model element.

Attributes

Applies to

Copy(IEnumerable<Guid>)

Creates a copy of the element in the model.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ Copy(System::Collections::Generic::IEnumerable<Guid> ^ domainRolesNotToPropagate);
[System.Diagnostics.DebuggerStepThrough]
public Microsoft.VisualStudio.Modeling.ModelElement Copy (System.Collections.Generic.IEnumerable<Guid> domainRolesNotToPropagate);
[<System.Diagnostics.DebuggerStepThrough>]
member this.Copy : seq<Guid> -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function Copy (domainRolesNotToPropagate As IEnumerable(Of Guid)) As ModelElement

Parameters

domainRolesNotToPropagate
IEnumerable<Guid>

A list of domain role ID-s through which copy should not be propagated.

Returns

Copied model element.

Attributes

Applies to