Share via


Diagram.CanDeserializationReroute Property

Gets the diagram and verifies whether it allows rerouting during serialization.

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

Syntax

'Declaration
Public Overridable ReadOnly Property CanDeserializationReroute As Boolean
public virtual bool CanDeserializationReroute { get; }
public:
virtual property bool CanDeserializationReroute {
    bool get ();
}
abstract CanDeserializationReroute : bool with get 
override CanDeserializationReroute : bool with get
function get CanDeserializationReroute () : boolean

Property Value

Type: Boolean
true if the diagram allows rerouting during serialization; otherwise, false.

Remarks

By default, the return value is false. In general, rerouting is not allowed during serialization. However, some designers might need this behavior if their routes are always calculated.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace