Udostępnij za pośrednictwem


NumberPicker.IFormatter.Format(Int32) Method

Definition

Formats a string representation of the current value.

[Android.Runtime.Register("format", "(I)Ljava/lang/String;", "GetFormat_IHandler:Android.Widget.NumberPicker/IFormatterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? Format (int value);
[<Android.Runtime.Register("format", "(I)Ljava/lang/String;", "GetFormat_IHandler:Android.Widget.NumberPicker/IFormatterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Format : int -> string

Parameters

value
Int32

The currently selected value.

Returns

A formatted string representation.

Attributes

Remarks

Formats a string representation of the current value.

Java documentation for android.widget.NumberPicker.Formatter.format(int).

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