共用方式為


LinkShape.EdgePoints 屬性

週框的 [連結] 圖形,包括兩個點,在每一個跳躍點拉直線段的點已排序的清單。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")> _
Public Property EdgePoints As EdgePointCollection
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")]
public EdgePointCollection EdgePoints { get; set; }

屬性值

型別:Microsoft.VisualStudio.Modeling.Diagrams.EdgePointCollection

備註

連結是由一連串的直線線段所組成。 一個超連結,會顯示為單一的直線有兩個邊緣點出現在開頭與結尾行。 有一個頂點或邊角的連結會有額外的邊緣之間的開始和結束點。

當連結置於另一個連結,它可能會顯示跳轉,也就是小型的半圓形。 邊緣點的清單中會包含兩個額外的分數的兩個邊的跳躍點。 如果您想要取得清單的邊緣點,會省略跳轉,請使用EdgePointsNoJumps

可能不正確如果[P:Microsoft.VisualStudio.Modeling.Diagrams.LinkShape.IsRouted()]為 false。

.NET Framework 安全性

請參閱

參考

LinkShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間

EdgePointsNoJumps