MessageFormat.GetFormatByArgumentName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>[icu]</strong> Returns the first top-level format associated with the given argument name.
[Android.Runtime.Register("getFormatByArgumentName", "(Ljava/lang/String;)Ljava/text/Format;", "GetGetFormatByArgumentName_Ljava_lang_String_Handler", ApiSince=24)]
public virtual Java.Text._Format? GetFormatByArgumentName (string? argumentName);
[<Android.Runtime.Register("getFormatByArgumentName", "(Ljava/lang/String;)Ljava/text/Format;", "GetGetFormatByArgumentName_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member GetFormatByArgumentName : string -> Java.Text._Format
override this.GetFormatByArgumentName : string -> Java.Text._Format
Parameters
- argumentName
- String
The name of the desired argument.
Returns
the Format associated with the name, or null if there isn't one.
- Attributes
Remarks
<strong>[icu]</strong> Returns the first top-level format associated with the given argument name. For more details, see #setFormatByArgumentName(String, Format)
.
Java documentation for android.icu.text.MessageFormat.getFormatByArgumentName(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.