Java.Text.DecimalFormat.Format Method
Formats the specified long value as a string using the pattern of this number format and appends the string to the specified string buffer.

Syntax

[Android.Runtime.Register("format", "(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_JLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")]
public override Java.Lang.StringBuffer Format (long value, Java.Lang.StringBuffer buffer, FieldPosition position)

Parameters

value
the long to format.
buffer
the target string buffer to append the formatted long value to.
position
on input: an optional alignment field; on output: the offsets of the alignment field in the formatted text.

Returns

Documentation for this section has not yet been entered.

Remarks

Formats the specified long value as a string using the pattern of this number format and appends the string to the specified string buffer.

If the field member of position contains a value specifying a format field, then its beginIndex and endIndex members will be updated with the position of the first occurrence of this field in the formatted text.

[Android Documentation]

Requirements

Namespace: Java.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1