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. |
| exception |
condition |
| InvalidOperationException |
The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed. |
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. |
| 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. |
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. |
| exception |
condition |
| InvalidOperationException |
The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed. |
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. |
| exception |
condition |
| InvalidOperationException |
The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed. |
We value your opinion. Your feedback will help us improve our documentation.