MessageFormat.ApplyPattern(String) Method

Definition

Sets the pattern used by this message format.

[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")]
public virtual void ApplyPattern (string? pattern);
[<Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")>]
abstract member ApplyPattern : string -> unit
override this.ApplyPattern : string -> unit

Parameters

pattern
String

the pattern for this message format

Attributes

Exceptions

if the pattern cannot be parsed.

Remarks

Java documentation for java.text.MessageFormat.applyPattern(java.lang.String).

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