Gets or sets a SerializationBinder object used to control class loading.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public SerializationBinder SerializationBinder { get; set; } |
Visual Basic Copy Code |
---|
Public Property SerializationBinder As SerializationBinder |
An instance of System.Runtime.Serialization.SerializationBinder -derived class. The default value is null (Nothing in VB.NET).
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.