Difference between revisions of "Dice/MacroRegistry/Contains"

From DiceRoller Documentation
(Created page with "{{APIdoc|MacroRegistry.Contains Method (String)}} Checks if the given macro has already been registered. {{ns}} == Syntax == <syntaxhighlight lang="C#"> internal bool Contai...")
 
(No difference)

Latest revision as of 18:58, 15 September 2017

Checks if the given macro has already been registered.

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

Syntax

internal bool Contains(
    string name
)

Parameters

name
Type: System.String
Name of the macro to check.

Return Value

Type: System.Boolean

Returns true if the given macro has been registered, and false if it has not.