Udostępnij za pośrednictwem


MessagePattern Constructors

Definition

Overloads

MessagePattern()

Constructs an empty MessagePattern with default ApostropheMode.

MessagePattern(MessagePattern+ApostropheMode)
MessagePattern(String)

Constructs a MessagePattern with default ApostropheMode and parses the MessageFormat pattern string.

MessagePattern()

Constructs an empty MessagePattern with default ApostropheMode.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public MessagePattern ();
Attributes

Remarks

Constructs an empty MessagePattern with default ApostropheMode.

Java documentation for android.icu.text.MessagePattern.MessagePattern().

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

MessagePattern(MessagePattern+ApostropheMode)

[Android.Runtime.Register(".ctor", "(Landroid/icu/text/MessagePattern$ApostropheMode;)V", "", ApiSince=24)]
public MessagePattern (Android.Icu.Text.MessagePattern.ApostropheMode? mode);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/text/MessagePattern$ApostropheMode;)V", "", ApiSince=24)>]
new Android.Icu.Text.MessagePattern : Android.Icu.Text.MessagePattern.ApostropheMode -> Android.Icu.Text.MessagePattern

Parameters

Attributes

Remarks

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

MessagePattern(String)

Constructs a MessagePattern with default ApostropheMode and parses the MessageFormat pattern string.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)]
public MessagePattern (string? pattern);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)>]
new Android.Icu.Text.MessagePattern : string -> Android.Icu.Text.MessagePattern

Parameters

pattern
String

a MessageFormat pattern string

Attributes

Remarks

Constructs a MessagePattern with default ApostropheMode and parses the MessageFormat pattern string.

Java documentation for android.icu.text.MessagePattern.MessagePattern(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