Compartilhar via


ModelElement.Copy Method

Include Protected Members
Include Inherited Members

Creates a copy of the element in the model.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Copy() Creates a copy of the element in the model.
Public method Copy(IEnumerable<Guid>) Creates a copy of the element and its child links and elements.

Top

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace

Other Resources

Customizing Copy Behavior

How to: Program Copy and Paste Behavior - redirect

How to: Add a Drag-and-Drop Handler