SetRange(char[], CharacterType)
Sets the type for each character of the specified collection in this instance of the Alphabet.
public void SetRange(char[] characters, CharacterType type)
| Parameter |
Type |
Description |
| characters |
Char[] |
The collection of characters to set the type for. |
| type |
CharacterType |
The character type. |
| exception |
condition |
| ArgumentOutOfRangeException |
The type is not a member of CharacterType; 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. |
SetRange(string[], CharacterType)
Sets the type for each character of the specified collection in this instance of the Alphabet.
public void SetRange(string[] characters, CharacterType type)
| Parameter |
Type |
Description |
| characters |
String[] |
The collection of characters and surrogate pairs to set the type for. |
| type |
CharacterType |
The character type. |
| exception |
condition |
| ArgumentOutOfRangeException |
The type is not a member of CharacterType; 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. |
SetRange(int[], CharacterType)
Sets the type for each character of the specified collection in this instance of the Alphabet.
public void SetRange(int[] codePoints, CharacterType type)
| Parameter |
Type |
Description |
| codePoints |
Int32[] |
The collection of Unicode code points to set the type for. |
| type |
CharacterType |
The character type. |
| exception |
condition |
| ArgumentOutOfRangeException |
The type is not a member of CharacterType, or 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. |
We value your opinion. Your feedback will help us improve our documentation.