System.Runtime.Serialization.Formatter.SurrogateSelector Property

When overridden in a derived class, gets or sets the System.Runtime.Serialization.ISurrogateSelector used with the current formatter.

Syntax

public abstract ISurrogateSelector SurrogateSelector { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the System.Runtime.Serialization.SurrogateSelector to look up implementations of System.Runtime.Serialization.ISerializationSurrogate that control the serialization of a particular type.

If an object type has a matching surrogate, then serialization and deserialization are handed off to the surrogate even if the type implements the System.Runtime.Serialization.ISerializable interface.

Requirements

Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0