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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.