Partager via


Diagram.AddImageFormat Method

Adds the format of the diagram image to IDataObject, which is responsible for transferring data.

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

Syntax

'Declaration
Public Overridable Sub AddImageFormat ( _
    data As IDataObject, _
    selectedElements As ICollection _
)
public virtual void AddImageFormat(
    IDataObject data,
    ICollection selectedElements
)
public:
virtual void AddImageFormat(
    IDataObject^ data, 
    ICollection^ selectedElements
)
abstract AddImageFormat : 
        data:IDataObject * 
        selectedElements:ICollection -> unit  
override AddImageFormat : 
        data:IDataObject * 
        selectedElements:ICollection -> unit
public function AddImageFormat(
    data : IDataObject, 
    selectedElements : ICollection
)

Parameters

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace