Partager via


MessageFormat Constructors

Definition

Overloads

MessageFormat(String)
MessageFormat(IntPtr, JniHandleOwnership)
MessageFormat(String, ULocale)
MessageFormat(String, Locale)

MessageFormat(String)

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

Parameters

pattern
String
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

MessageFormat(IntPtr, JniHandleOwnership)

protected MessageFormat (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Text.MessageFormat : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Text.MessageFormat

Parameters

javaReference
IntPtr

nativeint

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

MessageFormat(String, ULocale)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public MessageFormat (string? pattern, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.MessageFormat : string * Android.Icu.Util.ULocale -> Android.Icu.Text.MessageFormat

Parameters

pattern
String
locale
ULocale
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

MessageFormat(String, Locale)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Locale;)V", "", ApiSince=24)]
public MessageFormat (string? pattern, Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.MessageFormat : string * Java.Util.Locale -> Android.Icu.Text.MessageFormat

Parameters

pattern
String
locale
Locale
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