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

Syntax

'Declaração
Public Overridable ReadOnly Property CanDeserializationReroute As Boolean
    Get
public virtual bool CanDeserializationReroute { get; }
public:
virtual property bool CanDeserializationReroute {
    bool get ();
}
abstract CanDeserializationReroute : bool
override CanDeserializationReroute : bool
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace