Share via


MessagePattern.GetPatternIndex(Int32) Method

Definition

Returns the pattern index of the specified pattern "part".

[Android.Runtime.Register("getPatternIndex", "(I)I", "", ApiSince=24)]
public int GetPatternIndex (int partIndex);
[<Android.Runtime.Register("getPatternIndex", "(I)I", "", ApiSince=24)>]
member this.GetPatternIndex : int -> int

Parameters

partIndex
Int32

The index of the Part data. (0..countParts()-1)

Returns

The pattern index of this Part.

Attributes

Remarks

Returns the pattern index of the specified pattern "part". Convenience method for getPart(partIndex).getIndex().

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