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.