次の方法で共有


NodeShape.EnsureConnectionPoints(LinkShape) Method

Definition

Ensures that appropriate connection points exist for the given link. This method will be called before a the given link is connected to this shape. The default implementation creates a connection point which is midway through the left side of the shape. Derived classes that use connection points can override this to create different connection point(s).

public:
 virtual void EnsureConnectionPoints(Microsoft::VisualStudio::Modeling::Diagrams::LinkShape ^ link);
public virtual void EnsureConnectionPoints (Microsoft.VisualStudio.Modeling.Diagrams.LinkShape link);
abstract member EnsureConnectionPoints : Microsoft.VisualStudio.Modeling.Diagrams.LinkShape -> unit
override this.EnsureConnectionPoints : Microsoft.VisualStudio.Modeling.Diagrams.LinkShape -> unit
Public Overridable Sub EnsureConnectionPoints (link As LinkShape)

Parameters

link
LinkShape

LinkShape that will connect to this ConnectionPoint.

Applies to