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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property CanDeserializationReroute As Boolean
'Usage
Dim instance As Diagram 
Dim value As Boolean 

value = instance.CanDeserializationReroute
public virtual bool CanDeserializationReroute { get; }
public:
virtual property bool CanDeserializationReroute {
    bool get ();
}
public function get CanDeserializationReroute () : boolean

Property Value

Type: System.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

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace