共用方式為


DslEditorIdentifiesRootClass.SetRootClass Method

Sets RootClass.

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

Syntax

'宣告
Public Shared Sub SetRootClass ( _
    element As Editor, _
    newRootClass As DomainClass _
)
public static void SetRootClass(
    Editor element,
    DomainClass newRootClass
)
public:
static void SetRootClass(
    Editor^ element, 
    DomainClass^ newRootClass
)
static member SetRootClass : 
        element:Editor * 
        newRootClass:DomainClass -> unit 
public static function SetRootClass(
    element : Editor, 
    newRootClass : DomainClass
)

Parameters

.NET Framework Security

See Also

Reference

DslEditorIdentifiesRootClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace