共用方式為


LinkShape.ManuallyRouted 屬性

如果使用者已經進行手動變更此連結圖形的路由,則為 true。 沒有為 false,如果使用者已使用 [變更路徑] 指令,或已離開自動路由變更。

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

語法

'宣告
<DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
Public Property ManuallyRouted As Boolean
[DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
public bool ManuallyRouted { get; set; }

屬性值

型別:System.Boolean

備註

如果使用者變更只有其中的連結會接觸到圖案錨點,這個屬性會保持False

.NET Framework 安全性

請參閱

參考

LinkShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間

CanManuallyRoute