Java.Text.DecimalFormat.ApplyPattern Method
Changes the pattern of this decimal format to the specified pattern which uses non-localized pattern characters.

Syntax

[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")]
public virtual void ApplyPattern (string pattern)

Parameters

pattern
the non-localized pattern.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the pattern cannot be parsed.

Remarks

Changes the pattern of this decimal format to the specified pattern which uses non-localized pattern characters.

[Android Documentation]

Requirements

Namespace: Java.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1