Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Copies the collection of ModelElements to the specified IDataObject in one or more data formats.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Sub Copy ( _
data As IDataObject, _
elements As ICollection(Of ModelElement), _
sourcePosition As PointF _
)
public void Copy(
IDataObject data,
ICollection<ModelElement> elements,
PointF sourcePosition
)
public:
void Copy(
IDataObject^ data,
ICollection<ModelElement^>^ elements,
PointF sourcePosition
)
member Copy :
data:IDataObject *
elements:ICollection<ModelElement> *
sourcePosition:PointF -> unit
public function Copy(
data : IDataObject,
elements : ICollection<ModelElement>,
sourcePosition : PointF
)
Parameters
data
Type: IDataObjectThe IDataObject to add the data formats to.
elements
Type: ICollection<ModelElement>The collection of ModelElements to copy.
sourcePosition
Type: PointFThe mouse position where the drop occured, PointF.Empty if not a drag/drop operation.
Remarks
The supported formats: (1) ElementGroupPrototype, and (2) custom formats
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.