Språk

MessagePattern.GetPartType(Int32) Method

Definition

Returns the Part.Type of the i-th pattern "part".

[Android.Runtime.Register("getPartType", "(I)Landroid/icu/text/MessagePattern$Part$Type;", "", ApiSince=24)]
public Android.Icu.Text.MessagePattern.Part.Type? GetPartType(int i);
[<Android.Runtime.Register("getPartType", "(I)Landroid/icu/text/MessagePattern$Part$Type;", "", ApiSince=24)>]
member this.GetPartType : int -> Android.Icu.Text.MessagePattern.Part.Type

Parameters

i
Int32

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

Returns

The Part.Type of the i-th Part.

Attributes

Remarks

Returns the Part.Type of the i-th pattern "part". This is a convenience method for calling GetPart(Int32) followed by GetType().

Android reference for android.icu.text.MessagePattern.getPartType.

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