Difference between revisions of "Dice/DieResult/Data"
From DiceRoller Documentation
(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...") |
(No difference)
|
Latest revision as of 18:06, 25 April 2017
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.