PortableFormatter.Serialize Method |
Serializes an object (and the complete graph whose this object is the root) into a Stream.
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public void Serialize( Object obj, Stream stream )
Parameters
- obj
- Type: System.Object
The object to serialize. - stream
- Type: System.IO.Stream
The stream where obj needs to be serialized.