ClipboardCommandSet.ResolveExportedShapesForClipboardImages Method
Get the complete set of shapes and links that should be exported to the clipboard, given a set of model elements.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
‘선언
Protected Overridable Function ResolveExportedShapesForClipboardImages ( _
data As IDataObject, _
elements As IEnumerable(Of ModelElement) _
) As IEnumerable(Of ShapeElement)
protected virtual IEnumerable<ShapeElement> ResolveExportedShapesForClipboardImages(
IDataObject data,
IEnumerable<ModelElement> elements
)
protected:
virtual IEnumerable<ShapeElement^>^ ResolveExportedShapesForClipboardImages(
IDataObject^ data,
IEnumerable<ModelElement^>^ elements
)
abstract ResolveExportedShapesForClipboardImages :
data:IDataObject *
elements:IEnumerable<ModelElement> -> IEnumerable<ShapeElement>
override ResolveExportedShapesForClipboardImages :
data:IDataObject *
elements:IEnumerable<ModelElement> -> IEnumerable<ShapeElement>
protected function ResolveExportedShapesForClipboardImages(
data : IDataObject,
elements : IEnumerable<ModelElement>
) : IEnumerable<ShapeElement>
Parameters
- data
Type: System.Windows.Forms.IDataObject
IDataObject that contains the ElementGroupPrototype.
- elements
Type: System.Collections.Generic.IEnumerable<ModelElement>
elements to be copied into the EGP
Return Value
Type: System.Collections.Generic.IEnumerable<ShapeElement>
Collection of shapes to be exported as bitmap/emf into clipboard.
.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.