Constructor
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public Sub New ( _
    partition As Partition, _
    rootElements As ICollection(Of ModelElement), _
    closureGroup As ElementGroup _
)
public ElementGroupPrototype(
    Partition partition,
    ICollection<ModelElement> rootElements,
    ElementGroup closureGroup
)
public:
ElementGroupPrototype(
    Partition^ partition, 
    ICollection<ModelElement^>^ rootElements, 
    ElementGroup^ closureGroup
)
new : 
        partition:Partition * 
        rootElements:ICollection<ModelElement> * 
        closureGroup:ElementGroup -> ElementGroupPrototype
public function ElementGroupPrototype(
    partition : Partition, 
    rootElements : ICollection<ModelElement>, 
    closureGroup : ElementGroup
)
Parameters
- partition
 Type: Microsoft.VisualStudio.Modeling.Partition
 partition for this element group prototype
- rootElements
 Type: System.Collections.Generic.ICollection<ModelElement>
 collection of root elements
- closureGroup
 Type: Microsoft.VisualStudio.Modeling.ElementGroup
 element group containing the closure
.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.