Condividi tramite


Metodo ElementOperations.AddElementGroupFormat (IDataObject, ICollection<ModelElement>, ClosureType)

Aggiunge il formato di ElementGroupPrototype a IDataObject specificato tramite la raccolta specificata di ModelElements.Questo metodo chiama i seguenti 3 metodi sottoponibili a override (in) A.CreateElementGroup B.MarkRootElements C.CreateElementGroupPrototype quindi mette in serbo il ElementGroupPrototype creato nel parametro dati.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Note

Il nome di formato dati sia typeof (ElementGroupPrototype) .FullName.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ElementOperations Classe

Overload AddElementGroupFormat

Spazio dei nomi Microsoft.VisualStudio.Modeling