다음을 통해 공유


NumberFormat.ParseObject(String, ParsePosition) Method

Definition

Parses text from a string to produce a number.

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

Parameters

source
String

the String to parse

parsePosition
ParsePosition

the position at which to start the parse

Returns

the parsed number, or null

Attributes

Remarks

Parses text from a string to produce a number.

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