DslHasDiagram Constructor (Dsl, Diagram)
Constructor Creates a DslHasDiagram link in the same Partition as the given Dsl
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
source As Dsl, _
target As Diagram _
)
public DslHasDiagram(
Dsl source,
Diagram target
)
public:
DslHasDiagram(
Dsl^ source,
Diagram^ target
)
new :
source:Dsl *
target:Diagram -> DslHasDiagram
public function DslHasDiagram(
source : Dsl,
target : Diagram
)
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Dsl
Dsl to use as the source of the relationship.
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
Diagram to use as the target of the relationship.
.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.