Difference between revisions of "Dice/MacroRegistry/Remove"

From DiceRoller Documentation
(Created page with "{{APIdoc|MacroRegistry.Remove Method (String)}} Removes the function with the given name. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public void Remove( string name...")
 
(No difference)

Latest revision as of 19:30, 15 September 2017

Removes the function with the given name.

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

Syntax

public void Remove(
    string name
)

Parameters

name
Type: System.String
Name of the macro to remove, case-insensitive.

Exceptions

Exception Condition
ArgumentNullException name is null.

Remarks

If a macro with a given name does not exist, no error is thrown.