ElementOperations.AddCustomFormat Yöntem
Bir veya daha fazla özel veri biçimleri ModelElements belirtilen topluluğu kullanarak belirtilen IDataObject'i ekler.
Ad alanı: Microsoft.VisualStudio.Modeling
Derleme: Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll içinde)
Sözdizimi
'Bildirim
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
)
Parametreler
- data
Tür: System.Windows.Forms.IDataObject
Özel veri formatlarını eklemek için IDataObject'i.
- elements
Tür: System.Collections.Generic.ICollection<ModelElement>
ModelElements koleksiyonu.
- closureType
Tür: Microsoft.VisualStudio.Modeling.ClosureType
Öğelere filtre uygulamak için kullanılacak kapanışı türü.
- sourcePosition
Tür: System.Drawing.PointF
ModelElements konumlarını kaynak
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.