ConnectionType.CreateConnection Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Overridable Sub CreateConnection ( _
    sourceShapeElement As ShapeElement, _
    targetShapeElement As ShapeElement, _
    paintFeedbackArgs As PaintFeedbackArgs _
)
'使用
Dim instance As ConnectionType
Dim sourceShapeElement As ShapeElement
Dim targetShapeElement As ShapeElement
Dim paintFeedbackArgs As PaintFeedbackArgs

instance.CreateConnection(sourceShapeElement, _
    targetShapeElement, paintFeedbackArgs)
public virtual void CreateConnection(
    ShapeElement sourceShapeElement,
    ShapeElement targetShapeElement,
    PaintFeedbackArgs paintFeedbackArgs
)
public:
virtual void CreateConnection(
    ShapeElement^ sourceShapeElement, 
    ShapeElement^ targetShapeElement, 
    PaintFeedbackArgs^ paintFeedbackArgs
)
public function CreateConnection(
    sourceShapeElement : ShapeElement, 
    targetShapeElement : ShapeElement, 
    paintFeedbackArgs : PaintFeedbackArgs
)

Parameters

Permissions

See Also

Reference

ConnectionType Class

ConnectionType Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace