Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructor Creates a DiagramHasShapeMaps link in the same Partition as the given Diagram
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 Sub New ( _
    source As Diagram, _
    target As BaseShapeMap _
)
public DiagramHasShapeMaps(
    Diagram source,
    BaseShapeMap target
)
public:
DiagramHasShapeMaps(
    Diagram^ source, 
    BaseShapeMap^ target
)
new : 
        source:Diagram * 
        target:BaseShapeMap -> DiagramHasShapeMaps
public function DiagramHasShapeMaps(
    source : Diagram, 
    target : BaseShapeMap
)
Parameters
- source 
 Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram- Diagram to use as the source of the relationship. 
- target 
 Type: Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap- BaseShapeMap 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.