Sdílet prostřednictvím


JavaSystem.Console Method

Definition

Returns the unique java.io.Console Console object associated with the current Java virtual machine, if any.

[Android.Runtime.Register("console", "()Ljava/io/Console;", "")]
public static Java.IO.Console? Console ();
[<Android.Runtime.Register("console", "()Ljava/io/Console;", "")>]
static member Console : unit -> Java.IO.Console

Returns

The system console, if any, otherwise null.

Attributes

Remarks

Returns the unique java.io.Console Console object associated with the current Java virtual machine, if any.

Added in 1.6.

Java documentation for java.lang.System.console().

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