Lingua

MeasureFormat.ParseObject(String, ParsePosition) Method

Definition

Parses text from a string to produce a Measure.

[Android.Runtime.Register("parseObject", "(Ljava/lang/String;Ljava/text/ParsePosition;)Landroid/icu/util/Measure;", "GetParseObject_Ljava_lang_String_Ljava_text_ParsePosition_Handler", ApiSince=24)]
public override Java.Lang.Object? ParseObject(string? source, Java.Text.ParsePosition? pos);
[<Android.Runtime.Register("parseObject", "(Ljava/lang/String;Ljava/text/ParsePosition;)Landroid/icu/util/Measure;", "GetParseObject_Ljava_lang_String_Ljava_text_ParsePosition_Handler", ApiSince=24)>]
override this.ParseObject : string * Java.Text.ParsePosition -> Java.Lang.Object

Parameters

source
String

A String, part of which should be parsed.

pos
ParsePosition

A ParsePosition object with index and error index information as described above.

Returns

An Object parsed from the string. In case of error, returns null.

Attributes

Remarks

Parses text from a string to produce a Measure.

Java documentation for android.icu.text.MeasureFormat.parseObject(java.lang.String, java.text.ParsePosition).

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