Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub MarkAsRoot ( _
rootElement As ModelElement _
)
'使用
Dim instance As ElementGroup
Dim rootElement As ModelElement
instance.MarkAsRoot(rootElement)
public void MarkAsRoot(
ModelElement rootElement
)
public:
void MarkAsRoot(
ModelElement^ rootElement
)
public function MarkAsRoot(
rootElement : ModelElement
)
Parameters
- rootElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
Permissions
- 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.