[]
Serializes the specified object and stores them in a serialization data object.
void Serialize(object sourceObject, Stream toStream)
Type | Name | Description |
---|---|---|
object | sourceObject | An object to serialize. |
Stream | toStream | A Stream object where the serialized data will be stored. |