ISerializationSurrogate.SetObjectData Method (Object, SerializationInfo, StreamingContext, ISurrogateSelector)
Populates the object using the information in the SerializationInfo.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] object SetObjectData( object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector )
The object to populate.
The information to populate the object.
The source from which the object is deserialized.
The surrogate selector where the search for a compatible surrogate begins.
Return ValueType: System.Object
The populated deserialized object.
The Objectobj that has already been created, and enter SerializationInfoinfo data into that object. Constructors are not invoked during deserialization of information and reconstruction of the object.method is called during deserialization. With this method, you can take the empty
Available since 1.1