ModelingDocData.SetRootElement Method

Sets the root element.

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

Syntax

'宣言
Protected Overridable Sub SetRootElement ( _
    rootElement As ModelElement _
)
'使用
Dim rootElement As ModelElement

Me.SetRootElement(rootElement)
protected virtual void SetRootElement(
    ModelElement rootElement
)
protected:
virtual void SetRootElement(
    ModelElement^ rootElement
)
protected function SetRootElement(
    rootElement : ModelElement
)

Parameters

Permissions

See Also

Reference

ModelingDocData Class

ModelingDocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace