MessageFormat.ParseObject(String, ParsePosition) Method

Definition

Parses text from a string to produce an object array.

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

Parameters

source
String

A <code>String</code>, part of which should be parsed.

pos
ParsePosition

A <code>ParsePosition</code> object with index and error index information as described above.

Returns

Object

An <code>Object</code> array parsed from the string. In case of error, returns null.

Attributes

Remarks

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