ISerializationSurrogate Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

[ComVisibleAttribute(true)]
public interface ISerializationSurrogate

NameDescription
System_CAPS_pubmethodGetObjectData(Object, SerializationInfo, StreamingContext)

Populates the provided SerializationInfo with the data needed to serialize the object.

System_CAPS_pubmethodSetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)

Populates the object using the information in the SerializationInfo.

.NET Framework
Available since 1.1
Return to top
Show: