Aracılığıyla paylaş


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

Notlar

Veri biçim adı typeof(ElementGroupPrototype) olarak kabul edilir.FullName.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ElementOperations Sınıf

AddElementGroupFormat Fazla Yük

Microsoft.VisualStudio.Modeling Ad Alanı