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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
ElementGroupPrototype^ GetClosurePrototypeGroup(
	ICollection<ModelElement^>^ rootElements,
	ClosureType type
)

Parameters

rootElements
Type: System.Collections.Generic::ICollection<ModelElement^>^

A collection of root elements.

type
Type: Microsoft.VisualStudio.Modeling::ClosureType

The type of closure to build.

Return Value

Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^

The element group prototype collection.

the element group prototype's DistinguishedElements list will be populated with the root elements list

Return to top
Show: