Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function GetClosurePrototypeGroup ( _
rootElements As ICollection(Of ModelElement), _
type As ClosureType _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
ICollection<ModelElement> rootElements,
ClosureType type
)
public:
ElementGroupPrototype^ GetClosurePrototypeGroup(
ICollection<ModelElement^>^ rootElements,
ClosureType type
)
member GetClosurePrototypeGroup :
rootElements:ICollection<ModelElement> *
type:ClosureType -> ElementGroupPrototype
public function GetClosurePrototypeGroup(
rootElements : ICollection<ModelElement>,
type : ClosureType
) : ElementGroupPrototype
Parameters
rootElements
Type: System.Collections.Generic.ICollection<ModelElement>collection of root elements to begin closure walk from
type
Type: Microsoft.VisualStudio.Modeling.ClosureTypetype of closure to build
Return Value
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
an ElementGroupPrototype for the element collection selected in the closure walk
Remarks
the element group prototype's DistinguishedElements list will be populated with the root elements list
.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.