Język

ITextDirectionHeuristicExtensions.IsRtl Method

Definition

Checks a selected string range for right-to-left direction.

public static bool IsRtl(this Android.Text.ITextDirectionHeuristic self, string? cs, int start, int count);
static member IsRtl : Android.Text.ITextDirectionHeuristic * string * int * int -> bool

Parameters

self
ITextDirectionHeuristic

The direction heuristic to invoke.

cs
String

The string that contains the range to examine.

start
Int32

The first character index in the range.

count
Int32

The number of UTF-16 characters in the range.

Returns

true if the heuristic selects right-to-left for the range; otherwise, false.

Remarks

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.

Applies to