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
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
- newRootClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.