Share via


MessagePattern.GetLimitPartIndex(Int32) Method

Definition

Returns the index of the ARG|MSG_LIMIT part corresponding to the ARG|MSG_START at start.

[Android.Runtime.Register("getLimitPartIndex", "(I)I", "", ApiSince=24)]
public int GetLimitPartIndex (int start);
[<Android.Runtime.Register("getLimitPartIndex", "(I)I", "", ApiSince=24)>]
member this.GetLimitPartIndex : int -> int

Parameters

start
Int32

The index of some Part data (0..countParts()-1); this Part should be of Type ARG_START or MSG_START.

Returns

The first i&gt;start where getPart(i).getType()==ARG|MSG_LIMIT at the same nesting level, or start itself if getPartType(msgStart)!=ARG|MSG_START.

Attributes

Remarks

Returns the index of the ARG|MSG_LIMIT part corresponding to the ARG|MSG_START at start.

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