ElementGroup.MarkAsRoot(ModelElement) 方法

定义

将组中的元素标记为根元素。

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)

参数

rootElement
ModelElement

例外

给定元素不是组成员时引发。

适用于