DiagramHasConnectorMaps.SetDiagram Method
Sets Diagram.
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 SetDiagram ( _
element As ConnectorMap, _
newDiagram As Diagram _
)
public static void SetDiagram(
ConnectorMap element,
Diagram newDiagram
)
public:
static void SetDiagram(
ConnectorMap^ element,
Diagram^ newDiagram
)
static member SetDiagram :
element:ConnectorMap *
newDiagram:Diagram -> unit
public static function SetDiagram(
element : ConnectorMap,
newDiagram : Diagram
)
Parameters
- newDiagram
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.