Open sandboxFocus

Method Serialize

Serialize(object, Stream)

Serializes an object (and the complete graph whose root is this object) into a Stream.

Declaration
public void Serialize(object obj, Stream stream)
Parameters
Type Name Description
object obj

The object to serialize.

Stream stream

The stream where obj needs to be serialized.