CharacterRange.CharacterRange

CharacterRange constructor

Initializes a new instance of the CharacterRange struct, specifying a range of character positions within a string.

public CharacterRange(int first, int length)
ParameterTypeDescription
firstInt32The position of the first character in the range. For example, if First is set to 0, the first position of the range is position 0 in the string.
lengthInt32The number of positions in the range.

See Also