Partition::GetClosurePrototypeGroup Method (ICollection<ModelElement^>^, ClosureType, Boolean)
Visual Studio 2015
Creates an ElementGroupPrototype of the given closure type based on the given list of root Elements
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public: ElementGroupPrototype^ GetClosurePrototypeGroup( ICollection<ModelElement^>^ rootElements, ClosureType type, bool bypassDemandLoading )
Parameters
- rootElements
-
Type:
System.Collections.Generic::ICollection<ModelElement^>^
collection of root elements to begin the closure walk from
- type
-
Type:
Microsoft.VisualStudio.Modeling::ClosureType
type of closure to build
- bypassDemandLoading
-
Type:
System::Boolean
indicates whether to bypass demand loading while forming the closure
Return Value
Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^an ElementGroupPrototype for the element collection selected in the closure walk
All group elements that are not the target of any group-contained, embedding relationship, are marked as root elements in the ElementGroupPrototype.
Show: