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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: 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.