Freigeben über


ElementOperations.AddCustomFormat Method

Adds one or more custom data formats to the specified IDataObject using the specified collection of ModelElements.

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

Syntax

'Declaration
Protected Overridable Sub AddCustomFormat ( _
    data As IDataObject, _
    elements As ICollection(Of ModelElement), _
    closureType As ClosureType, _
    sourcePosition As PointF _
)
protected virtual void AddCustomFormat(
    IDataObject data,
    ICollection<ModelElement> elements,
    ClosureType closureType,
    PointF sourcePosition
)
protected:
virtual void AddCustomFormat(
    IDataObject^ data, 
    ICollection<ModelElement^>^ elements, 
    ClosureType closureType, 
    PointF sourcePosition
)
abstract AddCustomFormat : 
        data:IDataObject * 
        elements:ICollection<ModelElement> * 
        closureType:ClosureType * 
        sourcePosition:PointF -> unit  
override AddCustomFormat : 
        data:IDataObject * 
        elements:ICollection<ModelElement> * 
        closureType:ClosureType * 
        sourcePosition:PointF -> unit
protected function AddCustomFormat(
    data : IDataObject, 
    elements : ICollection<ModelElement>, 
    closureType : ClosureType, 
    sourcePosition : PointF
)

Parameters

.NET Framework Security

See Also

Reference

ElementOperations Class

Microsoft.VisualStudio.Modeling Namespace