Share via


ElementGroup.MarkAsRoot(ModelElement) Method

Definition

Marks an element in the group as a root element.

public:
 void MarkAsRoot(Microsoft::VisualStudio::Modeling::ModelElement ^ rootElement);
public void MarkAsRoot (Microsoft.VisualStudio.Modeling.ModelElement rootElement);
member this.MarkAsRoot : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Sub MarkAsRoot (rootElement As ModelElement)

Parameters

rootElement
ModelElement

Exceptions

Thrown if the given element is not a member of the group.

Applies to