< Dice‎ | DieResult
Revision as of 18:06, 25 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|DieResult.Data Property}} Gets or sets additional data about the roll. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public string Data { get; set; } </syntaxhigh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DieResult.Data Property

From DiceRoller Documentation

Gets or sets additional data about the roll.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public string Data { get; set; }

Property Value

Type: System.String

Additional data about the roll.

Remarks

When used along SpecialDie.Text, this indicates arbitrary text that should show up in the string version of the RollResult (used for function calls, and may be useful for comments as well). When used along with group rolls, this holds the underlying dice expression that the group represents, so that the group may be rerolled.