nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / IReadDevice

IReadDevice

Full name Microsoft.VisualBasic.ApplicationServices.Terminal.STDIO__.IReadDevice Assembly Microsoft.VisualBasic.Runtime Members 3

01 Syntax

Microsoft.VisualBasic.ApplicationServices.Terminal.STDIO__.IReadDevice

02 Methods

NameOverloadsSummary
ReadLine 1 Reads the next line of characters from the standard input stream.(从输入流读取下一行字符)
Read 1 Reads the next character from the standard input stream.(从输入流读取下一个字符)
ReadKey 1

03 Members

method ReadLine #
ReadLine

Reads the next line of characters from the standard input stream.(从输入流读取下一行字符)

Returns

The next line of characters from the input stream, or null if no more lines are available.

method Read #
Read

Reads the next character from the standard input stream.(从输入流读取下一个字符)

Returns

The next character from the input stream, or negative one (-1) if there are currently no more characters to be read.

method ReadKey #
ReadKey()