RollPost.Deserialize Method (Stream)
From DiceRoller Documentation
Deserializes a serialized RollPost.
- Namespace: Dice.PbP
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public static RollPost Deserialize(
Stream serializationStream
)
Parameters
- serializationStream
- Type: System.IO.Stream
- Stream containing serialized data.
Return Value
Type: Dice.PbP.RollPost
The deserialized RollPost.
Remarks
This method should be used whenever deserializing data from a database or other persistent storage (that was serialized using RollPost.Serialize). It should not be used when deserializing data that was not serialized using RollPost.Serialize().
See Also
The RollPost class documentation contains an example using Deserialize() to retrieve data from a database.