ASP.NET Pack Programmer's Guide
Diagram.SerializationBinder Property
See Also
 





Gets or sets a SerializationBinder object used to control class loading.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public SerializationBinder SerializationBinder { get; set; }

Visual Basic  Copy Code

Public Property SerializationBinder As SerializationBinder

 Property Value

An instance of System.Runtime.Serialization.SerializationBinder -derived class. The default value is null (Nothing in VB.NET).

 Remarks

You can use a custom serialization binder when serializable classes used in your application have been renamed or moved to a different namespace. Objects from such classes cannot be deserialized, unless the BindToType method of SerializationBinder maps the old class names to their corresponding types. Return null from your BindToType implementation for types you don't recognize, to let the diagram control process its own obsolete types.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace