IFormatter::SurrogateSelector Property

 

Gets or sets the SurrogateSelector used by the current formatter.

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

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

Property Value

Type: System.Runtime.Serialization::ISurrogateSelector^

The SurrogateSelector used by this formatter.

A ISerializationSurrogate allows the user to specify an object best suited to handle the serialization of a particular object or class of objects. Think of it as an implementation of ISerializable but provided by a different object.

.NET Framework
Available since 1.1
Return to top
Show: