AddRange

AddRange(IEnumerable<KeyValuePair<char, char>>)

Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.

public void AddRange(IEnumerable<KeyValuePair<char, char>> characterReplacements)
Parameter Type Description
characterReplacements IEnumerable`1 The collection of character replacements to add to the dictionary.

Exceptions

exception condition
InvalidOperationException The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed.

See Also


AddRange(IEnumerable<KeyValuePair<int, int>>)

Adds the specified collection of Unicode code point replacements to this instance of the CharacterReplacementDictionary.

public void AddRange(IEnumerable<KeyValuePair<int, int>> characterReplacements)
Parameter Type Description
characterReplacements IEnumerable`1 The collection of Unicode code point replacements to add to the dictionary.

Exceptions

exception condition
ArgumentNullException The collection is null.
ArgumentOutOfRangeException A code point is less than 0 or greater than 0x10FFFF; the dictionary is not changed.
InvalidOperationException The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed.

See Also


AddRange(IEnumerable<CharacterReplacementPair>)

Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.

public void AddRange(IEnumerable<CharacterReplacementPair> characterReplacements)
Parameter Type Description
characterReplacements IEnumerable`1 The collection of character replacements to add to the dictionary.

Exceptions

exception condition
InvalidOperationException The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed.

See Also


AddRange(CharacterReplacementPair[])

Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary.

public void AddRange(CharacterReplacementPair[] characterReplacements)
Parameter Type Description
characterReplacements CharacterReplacementPair[] The collection of character replacements to add to the dictionary.

Exceptions

exception condition
InvalidOperationException The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed.

See Also