< Dice‎ | PbP‎ | RollPost
Revision as of 16:39, 15 May 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollPost.Deserialize Method (Stream)}} Deserializes a serialized RollPost. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public static RollPost Deserialize( S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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