Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

[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:
© 2017 Microsoft