ElementOperations::MarkRootElements Method (ElementGroup^, ICollection<ModelElement^>^, ClosureType)

 

Mark RootElements in the elementGroup parameter.

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

protected:
virtual void MarkRootElements(
	ElementGroup^ elementGroup,
	ICollection<ModelElement^>^ elements,
	ClosureType closureType
)

Parameters

elementGroup
Type: Microsoft.VisualStudio.Modeling::ElementGroup^

elementGroup

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

elements

closureType
Type: Microsoft.VisualStudio.Modeling::ClosureType

closureType

This default implementation does not take the elements and closureType parameters into account. All groupElements in the elementGroup object, that are not the target of any group-contained, embedding relationship are marked as root. Called by the ElementOperations implementation of the virtual AddElementGroupFormat method. This method is invoked using parameter values that were passed to the AddElementGroupFormat method. The elementGroup parameter comes from the return value of the virtual CreateElementGroup method.

Return to top
Show: