Store.GetClosurePrototypeGroup Method (ICollection<ModelElement>, ClosureType)

Creates an element group prototype in the default partition of the given closure type if a list of root elements is specified.

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

Syntax

'宣言
Public Function GetClosurePrototypeGroup ( _
    rootElements As ICollection(Of ModelElement), _
    type As ClosureType _
) As ElementGroupPrototype
'使用
Dim instance As Store
Dim rootElements As ICollection(Of ModelElement)
Dim type As ClosureType
Dim returnValue As ElementGroupPrototype

returnValue = instance.GetClosurePrototypeGroup(rootElements, _
    type)
public ElementGroupPrototype GetClosurePrototypeGroup(
    ICollection<ModelElement> rootElements,
    ClosureType type
)
public:
ElementGroupPrototype^ GetClosurePrototypeGroup(
    ICollection<ModelElement^>^ rootElements, 
    ClosureType type
)
public function GetClosurePrototypeGroup(
    rootElements : ICollection<ModelElement>, 
    type : ClosureType
) : ElementGroupPrototype

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype

The element group prototype collection.

Remarks

The element group prototype's distinguished elements list will be populated with the root elements list.

Permissions

See Also

Reference

Store Class

Store Members

GetClosurePrototypeGroup Overload

Microsoft.VisualStudio.Modeling Namespace