BinaryFormatter::SurrogateSelector Property


Gets or sets a ISurrogateSelector that controls type substitution during serialization and deserialization.

Namespace:   System.Runtime.Serialization.Formatters.Binary
Assembly:  mscorlib (in mscorlib.dll)

property ISurrogateSelector^ SurrogateSelector {
	virtual ISurrogateSelector^ get() sealed;
	virtual void set(ISurrogateSelector^ value) sealed;

Property Value

Type: System.Runtime.Serialization::ISurrogateSelector^

The surrogate selector to use with this formatter.

The surrogate selector is used by System.Runtime.Remoting to generate ObjRef instances for objects that derive from MarshalByRefObject.

.NET Framework
Available since 1.1
Return to top