ModelingDocData.SetRootElement Method

Sets the root element.

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

Syntax

声明
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