ElementOperations.AddElementGroupFormat Yöntem (IDataObject, ICollection<ModelElement>, ClosureType)
ElementGroupPrototype biçimi ModelElements belirtilen topluluğu kullanarak belirtilen IDataObject'i ekler.Bu yöntem (sırasıyla) aşağıdaki 3 geçersiz kılınabilir yöntemlerini çağıran bir.B CreateElementGroup.C MarkRootElements.CreateElementGroupPrototype BT, sonra veri parametresinde oluşturulan ElementGroupPrototype stashes.
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 AddElementGroupFormat ( _
data As IDataObject, _
elements As ICollection(Of ModelElement), _
closureType As ClosureType _
)
protected virtual void AddElementGroupFormat(
IDataObject data,
ICollection<ModelElement> elements,
ClosureType closureType
)
Parametreler
- data
Tür: System.Windows.Forms.IDataObject
ElementGroupPrototype veri 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ü.
Notlar
Veri biçim adı typeof(ElementGroupPrototype) olarak kabul edilir.FullName.
.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.