Add

AliasDictionary.Add method

Adds the specified pair of alias and associated text to this instance of the AliasDictionary.

public void Add(string alias, string text)
Parameter Type Description
alias String The alias to add to the dictionary.
text String The text to be associated with the alias.

Exceptions

exception condition
ArgumentNullException Thrown when alias or text is null.
ArgumentException Alias contains character that is not from the ranges a-b and 0-9.

See Also