DslEditorIdentifiesRootClass.SetRootFor Method
Sets RootFor.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
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
- newRootFor
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
.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.