語言

UnicodeSet.ApplyIntPropertyValue(Int32, Int32) 方法

定義

修改此集合,包含 UCharacter 回傳給定二進位或列舉屬性給定值的碼點。

[Android.Runtime.Register("applyIntPropertyValue", "(II)Landroid/icu/text/UnicodeSet;", "GetApplyIntPropertyValue_IIHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? ApplyIntPropertyValue(int prop, int value);
[<Android.Runtime.Register("applyIntPropertyValue", "(II)Landroid/icu/text/UnicodeSet;", "GetApplyIntPropertyValue_IIHandler", ApiSince=24)>]
abstract member ApplyIntPropertyValue : int * int -> Android.Icu.Text.UnicodeSet
override this.ApplyIntPropertyValue : int * int -> Android.Icu.Text.UnicodeSet

參數

prop
Int32

一個位於範圍 UProperty.BIN_START.. 的屬性。UProperty.BIN_LIMIT-1 或 UProperty.INT_START..UProperty.INT_LIMIT-1 或。 UProperty.MASK_START......UProperty.MASK_LIMIT-1。

value
Int32

值位於 UCharacter.getIntPropertyMinValue(prop).. UCharacter.getIntPropertyMaxValue(prop),但有一個例外。 如果 prop 是 UProperty.GENERAL_CATEGORY_MASK,那麼 value 不應該是 UCharacter.getType() 結果,而應是邏輯 OR(1 <

傳回

對此組的參考

屬性

備註

修改此集合,包含那些在 UCharacter.getIntPropertyValue 回傳的二進位或列舉屬性中具有給定值的碼點。 本套組先前的內容已遺失。

Java 文件 android.icu.text.UnicodeSet.applyIntPropertyValue(int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於