Udostępnij za pośrednictwem


ChoiceFormat.ApplyPattern(String) Method

Definition

Sets the pattern.

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

Parameters

newPattern
String

See the class description.

Attributes

Exceptions

if an error occurs while parsing the pattern.

Remarks

Sets the pattern.

Java documentation for java.text.ChoiceFormat.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