共用方式為


ConnectionType.CreateConnection Method

Definition

public:
 virtual void CreateConnection(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ sourceShapeElement, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ targetShapeElement, Microsoft::VisualStudio::Modeling::Diagrams::PaintFeedbackArgs ^ paintFeedbackArgs);
public virtual void CreateConnection (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement sourceShapeElement, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement targetShapeElement, Microsoft.VisualStudio.Modeling.Diagrams.PaintFeedbackArgs paintFeedbackArgs);
abstract member CreateConnection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.PaintFeedbackArgs -> unit
override this.CreateConnection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.PaintFeedbackArgs -> unit
Public Overridable Sub CreateConnection (sourceShapeElement As ShapeElement, targetShapeElement As ShapeElement, paintFeedbackArgs As PaintFeedbackArgs)

Parameters

sourceShapeElement
ShapeElement
targetShapeElement
ShapeElement
paintFeedbackArgs
PaintFeedbackArgs

Applies to