ModelingDocData.SetRootElement Method

Sets the root element.

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

Syntax

'Declaration
Protected Overridable Sub SetRootElement ( _
    rootElement As ModelElement _
)
protected virtual void SetRootElement(
    ModelElement rootElement
)
protected:
virtual void SetRootElement(
    ModelElement^ rootElement
)
abstract SetRootElement : 
        rootElement:ModelElement -> unit  
override SetRootElement : 
        rootElement:ModelElement -> unit
protected function SetRootElement(
    rootElement : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace