Formatter::Serialize Method (Stream^, Object^)
.NET Framework (current version)
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)
Parameters
- serializationStream
-
Type:
System.IO::Stream^
The stream to which the objects are serialized.
- graph
-
Type:
System::Object^
The object at the root of the graph to serialize.
Implements
IFormatter::Serialize(Stream^, Object^)Notes to Inheritors:
You must implement this method in a derived class.
.NET Framework
Available since 1.1
Available since 1.1
Show: