共用方式為


NodeShape.ConnectionPoints Property

A list of points on the perimeter of a shape at which connectors can terminate. By default, a shape has no connection points, and connectors can terminate anywhere on its perimeter.

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

Syntax

'宣告
Public ReadOnly Property ConnectionPoints As IList(Of ConnectionPoint)
    Get
public IList<ConnectionPoint> ConnectionPoints { get; }
public:
property IList<ConnectionPoint^>^ ConnectionPoints {
    IList<ConnectionPoint^>^ get ();
}
member ConnectionPoints : IList<ConnectionPoint>
function get ConnectionPoints () : IList<ConnectionPoint>

Property Value

Type: System.Collections.Generic.IList<ConnectionPoint>
The list of connection points on the shape.

Remarks

To set connection points, override EnsureConnectionPoints(LinkShape) and HasConnectionPoints.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

HasConnectionPoints

EnsureConnectionPoints(LinkShape)