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
声明
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: System.Collections.Generic.ICollection<ModelElement>
elements
- closureType
Type: Microsoft.VisualStudio.Modeling.ClosureType
closureType
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.