Gets text in the range [begin, end).

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

Syntax

C#
public string GetTextInRangeRef(
	ref int begin,
	ref int end
)
Visual Basic
Public Function GetTextInRangeRef ( 
	ByRef begin As Integer,
	ByRef end As Integer
) As String

Parameters

begin
Type: System..::..Int32%
end
Type: System..::..Int32%

Return Value

Type: String

Remarks

If given index is at middle of an undividable character sequence such as surrogate pair, given range will be automatically expanded to avoid dividing the pair.

This method returns the expanded range by setting parameter begin and end to actually used values.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionSpecified index is out of valid range.

See Also