Open sandboxFocus

Method Serialize

Serialize(object, Stream)

Serializes an object (and the complete graph whose this object is the root) 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.