Language

PrintWriter.PrintfAsync Method

Definition

Overloads

Name Description
PrintfAsync(String, Object[])

Writes formatted output in a task.

PrintfAsync(Locale, String, Object[])

Writes formatted output using the specified locale in a task.

PrintfAsync(String, Object[])

Writes formatted output in a task.

public System.Threading.Tasks.Task<Java.IO.PrintWriter> PrintfAsync(string format, params Java.Lang.Object[] args);
member this.PrintfAsync : string * Java.Lang.Object[] -> System.Threading.Tasks.Task<Java.IO.PrintWriter>

Parameters

format
String

The Java format string for the output.

args
Object[]

The values supplied to the format string.

Returns

A task whose result is this writer. Use CheckError() to check for I/O errors.

Remarks

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

PrintfAsync(Locale, String, Object[])

Writes formatted output using the specified locale in a task.

public System.Threading.Tasks.Task<Java.IO.PrintWriter> PrintfAsync(Java.Util.Locale? l, string format, params Java.Lang.Object[] args);
member this.PrintfAsync : Java.Util.Locale * string * Java.Lang.Object[] -> System.Threading.Tasks.Task<Java.IO.PrintWriter>

Parameters

l
Locale

The locale used for formatting, or null for no localization.

format
String

The Java format string for the output.

args
Object[]

The values supplied to the format string.

Returns

A task whose result is this writer. Use CheckError() to check for I/O errors.

Remarks

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