AliasDictionary

AliasDictionary class

Represents a dictionary of aliases.

public class AliasDictionary : DictionaryBase, IEnumerable<string>

Properties

Name Description
Count { get; } Gets the number of aliases contained in the AliasDictionary.
override DictionaryType { get; } Gets the dictionary type.

Methods

Name Description
Add(string, string) Adds the specified pair of alias and associated text to this instance of the AliasDictionary.
AddRange(AliasReplacementPair[]) Adds the specified collection of alias/replacement pairs to this instance of the AliasDictionary.
AddRange(IEnumerable<AliasReplacementPair>) Adds the specified collection of alias/replacement pairs to this instance of the AliasDictionary.
AddRange(IEnumerable<KeyValuePair<string, string>>) Adds the specified collection of alias/replacement pairs to this instance of the AliasDictionary.
override Clear() Removes all aliases from a AliasDictionary object.
Contains(string) Determines whether an AliasDictionary object contains the specified alias.
ExportDictionary(string) Exports the dictionary to a file with the specified name.
GetEnumerator() Returns an enumerator that iterates through the collection.
GetText(string) Gets a text that is associated with the specified alias.
ImportDictionary(string) Imports a dictionary from the specified file.
Remove(string) Removes the specified alias from an AliasDictionary object.

Remarks

Learn more

See Also