Udostępnij za pośrednictwem


PSHostUserInterface.ReadLine Method

Definition

Reads characters from the console until a newline (a carriage return) is encountered.

public:
 abstract System::String ^ ReadLine();
public:
 abstract Platform::String ^ ReadLine();
 abstract std::wstring ReadLine();
public abstract string ReadLine ();
abstract member ReadLine : unit -> string
Public MustOverride Function ReadLine () As String

Returns

The characters typed by the user.

Applies to

See also