Delen via


DslEditorIdentifiesRootClass.SetRootFor Method

Sets RootFor.

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

Syntax

'Declaration
Public Shared Sub SetRootFor ( _
    element As DomainClass, _
    newRootFor As Editor _
)
public static void SetRootFor(
    DomainClass element,
    Editor newRootFor
)
public:
static void SetRootFor(
    DomainClass^ element, 
    Editor^ newRootFor
)
static member SetRootFor : 
        element:DomainClass * 
        newRootFor:Editor -> unit
public static function SetRootFor(
    element : DomainClass, 
    newRootFor : Editor
)

Parameters

.NET Framework Security

See Also

Reference

DslEditorIdentifiesRootClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace