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

MacroRegistry.Contains Method (String)

From DiceRoller Documentation

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.