Constructor to save the diagram locally
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Sub New ( _
    diagram As Diagram _
)
public GenericCoreConnectionType(
    Diagram diagram
)
public:
GenericCoreConnectionType(
    Diagram^ diagram
)
new : 
        diagram:Diagram -> GenericCoreConnectionType
public function GenericCoreConnectionType(
    diagram : Diagram
)
Parameters
- diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.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.