Udostępnij za pośrednictwem


UnicodeSet.ApplyIntPropertyValue(Int32, Int32) Method

Definition

Modifies this set to contain those code points which have the given value for the given binary or enumerated property, as returned by 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

Parameters

prop
Int32

a property in the range UProperty.BIN_START..UProperty.BIN_LIMIT-1 or UProperty.INT_START..UProperty.INT_LIMIT-1 or. UProperty.MASK_START..UProperty.MASK_LIMIT-1.

value
Int32

a value in the range UCharacter.getIntPropertyMinValue(prop).. UCharacter.getIntPropertyMaxValue(prop), with one exception. If prop is UProperty.GENERAL_CATEGORY_MASK, then value should not be a UCharacter.getType() result, but rather a mask value produced by logically ORing (1 &lt;&lt; UCharacter.getType()) values together. This allows grouped categories such as [:L:] to be represented.

Returns

a reference to this set

Attributes

Remarks

Modifies this set to contain those code points which have the given value for the given binary or enumerated property, as returned by UCharacter.getIntPropertyValue. Prior contents of this set are lost.

Java documentation for android.icu.text.UnicodeSet.applyIntPropertyValue(int, 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.

Applies to