다음을 통해 공유


DecimalFormat.ToLocalizedPattern Method

Definition

Calls #toPattern and converts the string to localized notation.

[Android.Runtime.Register("toLocalizedPattern", "()Ljava/lang/String;", "GetToLocalizedPatternHandler", ApiSince=24)]
public virtual string? ToLocalizedPattern ();
[<Android.Runtime.Register("toLocalizedPattern", "()Ljava/lang/String;", "GetToLocalizedPatternHandler", ApiSince=24)>]
abstract member ToLocalizedPattern : unit -> string
override this.ToLocalizedPattern : unit -> string

Returns

A decimal format pattern string in localized notation.

Attributes

Remarks

Calls #toPattern and converts the string to localized notation. For more information on localized notation, see #applyLocalizedPattern. This method is provided for backwards compatibility and should not be used in new projects.

Java documentation for android.icu.text.DecimalFormat.toLocalizedPattern().

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