< Dice‎ | ExtensionMethods
Revision as of 18:48, 12 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|ExtensionMethods.GetDescriptionString Method (DiceErrorCode)}} Retrieves the value of the DescriptionAttribute for the given DiceErrorCode. {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ExtensionMethods.GetDescriptionString Method (DiceErrorCode)

From DiceRoller Documentation

Retrieves the value of the DescriptionAttribute for the given DiceErrorCode.

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

Syntax

internal static string GetDescriptionString(
    this DiceErrorCode code
)

Parameters

code
Type: Dice.DiceErrorCode
The error code to retrieve the description of.

Return value

Type: System.String

The value of the DiceErrorCode's DescriptionAttribute.