Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ISerializationSurrogate Interface
Collapse the table of content
Expand the table of content

ISerializationSurrogate Interface

Implements a serialization surrogate selector that allows one object to perform serialization and deserialization of another.

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

public interface ISerializationSurrogate

The ISerializationSurrogate type exposes the following members.

Public methodGetObjectDataPopulates the provided SerializationInfo with the data needed to serialize the object.
Public methodSetObjectDataPopulates the object using the information in the SerializationInfo.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft