Freigeben über


MessagePattern.GetPluralOffset(Int32) Method

Definition

Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified.

[Android.Runtime.Register("getPluralOffset", "(I)D", "", ApiSince=24)]
public double GetPluralOffset (int pluralStart);
[<Android.Runtime.Register("getPluralOffset", "(I)D", "", ApiSince=24)>]
member this.GetPluralOffset : int -> double

Parameters

pluralStart
Int32

the index of the first PluralFormat argument style part. (0..countParts()-1)

Returns

the "offset:" value.

Attributes

Remarks

Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified.

Java documentation for android.icu.text.MessagePattern.getPluralOffset(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