PrintWriter.Println 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
| Println(String) |
Prints a String and then terminates the line. |
| Println(Single) |
Prints a floating-point number and then terminates the line. |
| Println(Int32) |
Prints an integer and then terminates the line. |
| Println(Double) |
Prints a double-precision floating-point number and then terminates the line. |
| Println(Int64) |
Prints a long integer and then terminates the line. |
| Println(Char) |
Prints a character and then terminates the line. |
| Println(Boolean) |
Prints a boolean value and then terminates the line. |
| Println(Object) |
Prints an Object and then terminates the line. |
| Println() |
Terminates the current line by writing the line separator string. |
| Println(Char[]) |
Prints an array of characters and then terminates the line. |
Println(String)
Prints a String and then terminates the line.
[Android.Runtime.Register("println", "(Ljava/lang/String;)V", "GetPrintln_Ljava_lang_String_Handler")]
public virtual void Println (string? x);
[<Android.Runtime.Register("println", "(Ljava/lang/String;)V", "GetPrintln_Ljava_lang_String_Handler")>]
abstract member Println : string -> unit
override this.Println : string -> unit
Parameters
- x
- String
the <code>String</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(java.lang.String).
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
Println(Single)
Prints a floating-point number and then terminates the line.
[Android.Runtime.Register("println", "(F)V", "GetPrintln_FHandler")]
public virtual void Println (float x);
[<Android.Runtime.Register("println", "(F)V", "GetPrintln_FHandler")>]
abstract member Println : single -> unit
override this.Println : single -> unit
Parameters
- x
- Single
the <code>float</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(float).
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
Println(Int32)
Prints an integer and then terminates the line.
[Android.Runtime.Register("println", "(I)V", "GetPrintln_IHandler")]
public virtual void Println (int x);
[<Android.Runtime.Register("println", "(I)V", "GetPrintln_IHandler")>]
abstract member Println : int -> unit
override this.Println : int -> unit
Parameters
- x
- Int32
the <code>int</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(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
Println(Double)
Prints a double-precision floating-point number and then terminates the line.
[Android.Runtime.Register("println", "(D)V", "GetPrintln_DHandler")]
public virtual void Println (double x);
[<Android.Runtime.Register("println", "(D)V", "GetPrintln_DHandler")>]
abstract member Println : double -> unit
override this.Println : double -> unit
Parameters
- x
- Double
the <code>double</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(double).
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
Println(Int64)
Prints a long integer and then terminates the line.
[Android.Runtime.Register("println", "(J)V", "GetPrintln_JHandler")]
public virtual void Println (long x);
[<Android.Runtime.Register("println", "(J)V", "GetPrintln_JHandler")>]
abstract member Println : int64 -> unit
override this.Println : int64 -> unit
Parameters
- x
- Int64
the <code>long</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(long).
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
Println(Char)
Prints a character and then terminates the line.
[Android.Runtime.Register("println", "(C)V", "GetPrintln_CHandler")]
public virtual void Println (char x);
[<Android.Runtime.Register("println", "(C)V", "GetPrintln_CHandler")>]
abstract member Println : char -> unit
override this.Println : char -> unit
Parameters
- x
- Char
the <code>char</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(char).
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
Println(Boolean)
Prints a boolean value and then terminates the line.
[Android.Runtime.Register("println", "(Z)V", "GetPrintln_ZHandler")]
public virtual void Println (bool x);
[<Android.Runtime.Register("println", "(Z)V", "GetPrintln_ZHandler")>]
abstract member Println : bool -> unit
override this.Println : bool -> unit
Parameters
- x
- Boolean
the <code>boolean</code> value to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(boolean).
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
Println(Object)
Prints an Object and then terminates the line.
[Android.Runtime.Register("println", "(Ljava/lang/Object;)V", "GetPrintln_Ljava_lang_Object_Handler")]
public virtual void Println (Java.Lang.Object? x);
[<Android.Runtime.Register("println", "(Ljava/lang/Object;)V", "GetPrintln_Ljava_lang_Object_Handler")>]
abstract member Println : Java.Lang.Object -> unit
override this.Println : Java.Lang.Object -> unit
Parameters
- x
- Object
The <code>Object</code> to be printed.
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(java.lang.Object).
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
Println()
Terminates the current line by writing the line separator string.
[Android.Runtime.Register("println", "()V", "GetPrintlnHandler")]
public virtual void Println ();
[<Android.Runtime.Register("println", "()V", "GetPrintlnHandler")>]
abstract member Println : unit -> unit
override this.Println : unit -> unit
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println().
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
Println(Char[])
Prints an array of characters and then terminates the line.
[Android.Runtime.Register("println", "([C)V", "GetPrintln_arrayCHandler")]
public virtual void Println (char[]? x);
[<Android.Runtime.Register("println", "([C)V", "GetPrintln_arrayCHandler")>]
abstract member Println : char[] -> unit
override this.Println : char[] -> unit
Parameters
- x
- Char[]
the array of <code>char</code> values to be printed
- Attributes
Remarks
Java documentation for java.io.PrintWriter.println(char[]).
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.