Version:
Serialize(object obj, System.IO.Stream stream) Method
Serializes the specified object to the specified stream.
Syntax
public
static
void Serialize(object obj, System.IO.Stream stream)
Parameters
- obj
- Type: object
The object to serialize.
- stream
- Type: System.IO.Stream
The stream into which the serialized object is written.
Exceptions
System.ArgumentNullException
|
stream is null (Nothing in Visual Basic).
|