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.