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