DiagramHasBaseDiagram.SetBaseClass Method
Sets BaseClass.
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 SetBaseClass ( _
element As Diagram, _
newBaseDiagram As Diagram _
)
public static void SetBaseClass(
Diagram element,
Diagram newBaseDiagram
)
public:
static void SetBaseClass(
Diagram^ element,
Diagram^ newBaseDiagram
)
static member SetBaseClass :
element:Diagram *
newBaseDiagram:Diagram -> unit
public static function SetBaseClass(
element : Diagram,
newBaseDiagram : Diagram
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
- newBaseDiagram
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
.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.