Formatter.Serialize Method (Stream, Object)
When overridden in a derived class, serializes the graph of objects with the specified root to the stream already attached to the formatter.
Assembly: mscorlib (in mscorlib.dll)
The stream to which the objects are serialized.
The object at the root of the graph to serialize.
Notes to Inheritors:
You must implement this method in a derived class.
Available since 1.1