Język

MessagePattern.GetNumericValue(MessagePattern+Part) Method

Definition

Returns the numeric value associated with an ArgInt or ArgDouble.

[Android.Runtime.Register("getNumericValue", "(Landroid/icu/text/MessagePattern$Part;)D", "", ApiSince=24)]
public double GetNumericValue(Android.Icu.Text.MessagePattern.Part? part);
[<Android.Runtime.Register("getNumericValue", "(Landroid/icu/text/MessagePattern$Part;)D", "", ApiSince=24)>]
member this.GetNumericValue : Android.Icu.Text.MessagePattern.Part -> double

Parameters

part
MessagePattern.Part

a part of this MessagePattern.

Returns

the part's numeric value, or NoNumericValue if this is not a numeric part.

Attributes

Remarks

Returns the numeric value associated with an ArgInt or ArgDouble.

Android reference for android.icu.text.MessagePattern.getNumericValue.

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