Bidi.RequiresBidi(Char[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若指定文本需要 bidi 分析,則回傳 true。
[Android.Runtime.Register("requiresBidi", "([CII)Z", "")]
public static bool RequiresBidi(char[]? text, int start, int limit);
[<Android.Runtime.Register("requiresBidi", "([CII)Z", "")>]
static member RequiresBidi : char[] * int * int -> bool
參數
- text
- Char[]
包含要測試字元的文字
- start
- Int32
開始測試各種角色
- limit
- Int32
可測試字元範圍的極限
傳回
如果字元範圍需要 BIDI 分析,則為真
- 屬性
例外狀況
若 start 或 limit 為負 start >
limit ;或 limit 則大於該物件段落文字的長度。
備註
若指定文本需要 bidi 分析,則回傳 true。 若此結果為假,文字將從左至右顯示。 客戶端因此可以避免建構 Bidi 物件。 Unicode 阿拉伯語呈現表單區的文字預設已被塑造並排序以供顯示,因此不會使此函式回傳為真。
的 java.text.Bidi.requiresBidi(char[], int, int)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。