Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Runtime.​Serialization.​ISerializable
Assembly: System.Runtime
Allows an object to control its own serialization and deserialization through binary and XML serialization.
Methods
public
void
GetObjectData​(SerializationInfo info,
StreamingContext context)
info
The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.
context
The destination (see <see cref="T:System.Runtime.Serialization.StreamingContext" /> ) for this serialization.
Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.