< Dice‎ | PbP‎ | RollPost

Difference between revisions of "Dice/PbP/RollPost/Deserialize"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollPost.Deserialize Method (Stream)}} Deserializes a serialized RollPost. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public static RollPost Deserialize( S...")
(No difference)

Revision as of 16:39, 15 May 2017

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().