Delen via


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

.NET Framework Security

See Also

Reference

GenericCoreConnectionType Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace