Udostępnij za pośrednictwem


MessageFormat.ToPattern Method

Definition

Returns a pattern representing the current state of the message format.

[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 representing the current state of the message format

Attributes

Remarks

Returns a pattern representing the current state of the message format. The string is constructed from internal information and therefore does not necessarily equal the previously applied pattern.

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