共用方式為


DslEditorIdentifiesRootClass.SetRootClass(Editor, DomainClass) Method

Definition

Sets RootClass.

public:
 static void SetRootClass(Microsoft::VisualStudio::Modeling::DslDefinition::Editor ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ newRootClass);
[System.Diagnostics.DebuggerStepThrough]
public static void SetRootClass (Microsoft.VisualStudio.Modeling.DslDefinition.Editor element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass newRootClass);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetRootClass : Microsoft.VisualStudio.Modeling.DslDefinition.Editor * Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> unit
Public Shared Sub SetRootClass (element As Editor, newRootClass As DomainClass)

Parameters

element
Editor
newRootClass
DomainClass
Attributes

Applies to