BreakIterator.Following(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the first boundary following the specified character offset.
[Android.Runtime.Register("following", "(I)I", "GetFollowing_IHandler")]
public abstract int Following (int offset);
[<Android.Runtime.Register("following", "(I)I", "GetFollowing_IHandler")>]
abstract member Following : int -> int
Parameters
- offset
- Int32
the character offset to begin scanning.
Returns
The first boundary after the specified offset or
BreakIterator.DONE
if the last text boundary is passed in
as the offset.
- Attributes
Exceptions
if the offset is invalid.
Remarks
Returns the first boundary following the specified character offset. If the specified offset is equal to the last text boundary, it returns BreakIterator.DONE
and the iterator's current position is unchanged. Otherwise, the iterator's current position is set to the returned boundary. The value returned is always greater than the offset or the value BreakIterator.DONE
.
Java documentation for java.text.BreakIterator.following(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.