다음을 통해 공유


ElementOperations.Copy Method (IDataObject, ICollection<ModelElement>)

Copies the collection of ModelElements to the specified IDataObject in one or more data formats.

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

Syntax

'Declaration
Public Sub Copy ( _
    data As IDataObject, _
    elements As ICollection(Of ModelElement) _
)
public void Copy(
    IDataObject data,
    ICollection<ModelElement> elements
)
public:
void Copy(
    IDataObject^ data, 
    ICollection<ModelElement^>^ elements
)
member Copy : 
        data:IDataObject * 
        elements:ICollection<ModelElement> -> unit
public function Copy(
    data : IDataObject, 
    elements : ICollection<ModelElement>
)

Parameters

Remarks

The supported formats: (1) ElementGroupPrototype, and (2) custom formats

.NET Framework Security

See Also

Reference

ElementOperations Class

Copy Overload

Microsoft.VisualStudio.Modeling Namespace