< Dice | ExtensionMethods
Difference between revisions of "Dice/ExtensionMethods/GetDescriptionString"
From DiceRoller Documentation
(Created page with "{{APIdoc|ExtensionMethods.GetDescriptionString Method (DiceErrorCode)}} Retrieves the value of the DescriptionAttribute for the given DiceErrorCode. {{...") |
|||
Line 16: | Line 16: | ||
: The error code to retrieve the description of. | : The error code to retrieve the description of. | ||
− | === Return | + | === Return Value === |
Type: System.String | Type: System.String | ||
The value of the DiceErrorCode's DescriptionAttribute. | The value of the DiceErrorCode's DescriptionAttribute. |
Latest revision as of 19:12, 25 April 2017
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.