< Dice‎ | MacroRegistry
Revision as of 19:30, 15 September 2017 by Skizzerz (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MacroRegistry.Remove Method (String)

From DiceRoller Documentation

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.