共用方式為


Diagram.RoutingStyle Property

Gets or sets the way link shapes are styled on the diagram.

This API is not CLS-compliant. 

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

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Property RoutingStyle As VGRoutingStyle
    Get
    Set
[CLSCompliantAttribute(false)]
public VGRoutingStyle RoutingStyle { get; set; }
[CLSCompliantAttribute(false)]
public:
property VGRoutingStyle RoutingStyle {
    VGRoutingStyle get ();
    void set (VGRoutingStyle value);
}
[<CLSCompliantAttribute(false)>]
member RoutingStyle : VGRoutingStyle with get, set
function get RoutingStyle () : VGRoutingStyle
function set RoutingStyle (value : VGRoutingStyle)

Property Value

Type: VGRoutingStyle
The style to use on link shapes in the diagram.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace