Partition::GetClosurePrototypeGroup Method (ICollection<ModelElement^>^, ClosureType)

 

Creates an ElementGroupPrototype of the given closure type based on the given list of root Elements

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^>^

collection of root elements to begin closure walk from

type
Type: Microsoft.VisualStudio.Modeling::ClosureType

type of closure to build

Return Value

Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^

an ElementGroupPrototype for the element collection selected in the closure walk

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

Return to top
Show: