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

Namespace: GroupDocs.Search.Dictionaries
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 21.3
Syntax
public void Add(
	string alias,
	string text
)

Parameters

alias
Type: SystemString
The alias to add to the dictionary.
text
Type: SystemString
The text to be associated with the alias.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when alias or text is null.
ArgumentExceptionAlias contains character that is not from the ranges a-b and 0-9.
See Also