LinkShape.ManuallyRouted 属性

,如果用户对此链接形状,路由的一个手动更改则为 true。 错误,如果用户使用了重新路由命令或将自动路由不变。

命名空间:  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