Condividi tramite


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

Aggiunge il formato ElementGroupPrototype al IDataObject specificato utilizzando la raccolta specificata di ModelElements. Questo metodo chiama i seguenti 3 metodi sottoponibili a override (in ordine) a. CreateElementGroup b. MarkRootElements c. CreateElementGroupPrototype. L'oggetto ElementGroupPrototype creato viene quindi inserito nel parametro dati.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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