ModelElement::Copy Method (IEnumerable<Guid>^)

 

Creates a copy of the element and its child links and elements.

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

public:
ModelElement^ Copy(
	IEnumerable<Guid>^ domainRolesNotToPropagate
)

Parameters

domainRolesNotToPropagate
Type: System.Collections.Generic::IEnumerable<Guid>^

A list of domain role IDs through which copy should not be propagated.

The child links are those with a role in which PropagatesCopy is set. Typically these are the source roles of instances of embedding relationships.

For more information, see Customizing Copy Behavior.

Return to top
Show: