Compartir a través de


ElementOperations.CreateElementGroup Method

Definition

Creates a ClosureElementGroup

protected:
 virtual Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elements, Microsoft::VisualStudio::Modeling::ClosureType closureType);
protected virtual Microsoft.VisualStudio.Modeling.ElementGroup CreateElementGroup (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> elements, Microsoft.VisualStudio.Modeling.ClosureType closureType);
abstract member CreateElementGroup : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType -> Microsoft.VisualStudio.Modeling.ElementGroup
override this.CreateElementGroup : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType -> Microsoft.VisualStudio.Modeling.ElementGroup
Protected Overridable Function CreateElementGroup (elements As ICollection(Of ModelElement), closureType As ClosureType) As ElementGroup

Parameters

elements
ICollection<ModelElement>

elements

closureType
ClosureType

closureType

Returns

ElementGroup

Remarks

Called by the ElementOperations implementation of the virtual AddElementGroupFormat method. This method is invoked using parameter values that were passed to the AddElementGroupFormat method

Applies to