ElementOperations.CreateElementGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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