Udostępnij za pośrednictwem


DecimalFormat.ToPattern Method

Definition

Synthesizes a pattern string that represents the current state of this Format object.

[Android.Runtime.Register("toPattern", "()Ljava/lang/String;", "GetToPatternHandler")]
public virtual string? ToPattern ();
[<Android.Runtime.Register("toPattern", "()Ljava/lang/String;", "GetToPatternHandler")>]
abstract member ToPattern : unit -> string
override this.ToPattern : unit -> string

Returns

a pattern string

Attributes

Remarks

Synthesizes a pattern string that represents the current state of this Format object.

Java documentation for java.text.DecimalFormat.toPattern().

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