DesignerHasDiagram.SetDesigner Method
Sets Designer.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetDesigner ( _
element As Diagram, _
newGraphicalEditor As Designer _
)
public static void SetDesigner(
Diagram element,
Designer newGraphicalEditor
)
public:
static void SetDesigner(
Diagram^ element,
Designer^ newGraphicalEditor
)
static member SetDesigner :
element:Diagram *
newGraphicalEditor:Designer -> unit
public static function SetDesigner(
element : Diagram,
newGraphicalEditor : Designer
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
- newGraphicalEditor
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Designer
.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.