Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Overridable Sub AddCustomFormat ( _
data As IDataObject, _
elements As ICollection(Of ModelElement), _
closureType As ClosureType, _
sourcePosition As PointF _
)
'使用
Dim data As IDataObject
Dim elements As ICollection(Of ModelElement)
Dim closureType As ClosureType
Dim sourcePosition As PointF
Me.AddCustomFormat(data, elements, _
closureType, sourcePosition)
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
)
protected function AddCustomFormat(
data : IDataObject,
elements : ICollection<ModelElement>,
closureType : ClosureType,
sourcePosition : PointF
)
Parameters
- data
Type: System.Windows.Forms.IDataObject
- elements
Type: System.Collections.Generic.ICollection<ModelElement>
- closureType
Type: Microsoft.VisualStudio.Modeling.ClosureType
- sourcePosition
Type: System.Drawing.PointF
Permissions
- 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.