ElementOperations.CreateElementGroup Method
Creates a ClosureElementGroup
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
elements
Type: ICollection<ModelElement>elements
closureType
Type: Microsoft.VisualStudio.Modeling.ClosureTypeclosureType
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.