Lenguaje

MessagePattern.GetPartType(Int32) Método

Definición

Devuelve el elemento Part.Type del patrón i-th "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

Parámetros

i
Int32

Índice de los datos del elemento. (0..countParts()-1)

Devoluciones

Part.Type de la parte i-th.

Atributos

Comentarios

Devuelve el elemento Part.Type del patrón i-th "part". Método de conveniencia para getPart(i).getType().

Referencia de Android para android.icu.text.MessagePattern.getPartType.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a