Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
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: IDataObject

    IDataObject that contains the ElementGroupPrototype.

  • elements
    Type: IEnumerable<ModelElement>

    elements to be copied into the EGP

Return Value

Type: IEnumerable<ShapeElement>
Collection of shapes to be exported as bitmap/emf into clipboard.

.NET Framework Security

See Also

Reference

ClipboardCommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace