Share via


ElementOperations.CreateElementGroup Method

Creates a ClosureElementGroup

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Protected Overridable Function CreateElementGroup ( _
    elements As ICollection(Of ModelElement), _
    closureType As ClosureType _
) As ElementGroup
protected virtual ElementGroup CreateElementGroup(
    ICollection<ModelElement> elements,
    ClosureType closureType
)
protected:
virtual ElementGroup^ CreateElementGroup(
    ICollection<ModelElement^>^ elements, 
    ClosureType closureType
)
abstract CreateElementGroup : 
        elements:ICollection<ModelElement> * 
        closureType:ClosureType -> ElementGroup 
override CreateElementGroup : 
        elements:ICollection<ModelElement> * 
        closureType:ClosureType -> ElementGroup 
protected function CreateElementGroup(
    elements : ICollection<ModelElement>, 
    closureType : ClosureType
) : ElementGroup

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ElementGroup
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

.NET Framework Security

See Also

Reference

ElementOperations Class

Microsoft.VisualStudio.Modeling Namespace