SetRange

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.

Exceptions

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.

See Also


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.

Exceptions

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.

See Also


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.

Exceptions

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.

See Also