ISerializationSurrogate.SetObjectData Method (Object, SerializationInfo, StreamingContext, ISurrogateSelector)
Populates the object using the information in the SerializationInfo.
Assembly: mscorlib (in mscorlib.dll)
[<SecurityCriticalAttribute>] abstract SetObjectData : obj:Object * info:SerializationInfo * context:StreamingContext * selector:ISurrogateSelector -> Object
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