Method GetObjectData
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo object with the data needed to serialize the target object.
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo to populate with data.
contextStreamingContextThe destination (see StreamingContext) for this serialization.