Difference between revisions of "Dice/RollResult/Value"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.Value Property}} Gets the result of the roll. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public decimal Value { get; private set; } </syntaxhighligh...")
 
(No difference)

Latest revision as of 22:21, 10 April 2017

Gets the result of the roll.

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

Syntax

public decimal Value { get; private set; }

Property Value

Type: System.Decimal

The result of the roll. This will either be the total or the number of successes. RollResult.ResultType can be used to determine which it is. This property is read-only.