PrintStream.PrintfAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.PrintStream?> PrintfAsync(string? format, params Java.Lang.Object[]? args);
member this.PrintfAsync : string * Java.Lang.Object[] -> System.Threading.Tasks.Task<Java.IO.PrintStream>
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 output stream. 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.PrintStream?> 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.PrintStream>
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 output stream. 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.