GenericCoreConnectionType.CreateConnection Method
Creates the generic link shape and adds to current diagram
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides Sub CreateConnection ( _
sourceShapeElement As ShapeElement, _
targetShapeElement As ShapeElement, _
paintFeedbackArgs As PaintFeedbackArgs _
)
public override void CreateConnection(
ShapeElement sourceShapeElement,
ShapeElement targetShapeElement,
PaintFeedbackArgs paintFeedbackArgs
)
public:
virtual void CreateConnection(
ShapeElement^ sourceShapeElement,
ShapeElement^ targetShapeElement,
PaintFeedbackArgs^ paintFeedbackArgs
) override
abstract CreateConnection :
sourceShapeElement:ShapeElement *
targetShapeElement:ShapeElement *
paintFeedbackArgs:PaintFeedbackArgs -> unit
override CreateConnection :
sourceShapeElement:ShapeElement *
targetShapeElement:ShapeElement *
paintFeedbackArgs:PaintFeedbackArgs -> unit
public override function CreateConnection(
sourceShapeElement : ShapeElement,
targetShapeElement : ShapeElement,
paintFeedbackArgs : PaintFeedbackArgs
)
Parameters
- sourceShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- paintFeedbackArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.PaintFeedbackArgs
.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.