ReadLine

Method of IWshTextStream

Description

Reads an entire line (up to, but not including, the newline character) from a TextStream file and returns the resulting string

Parameters

Return Value

Syntax

JavaScript

var Text = WshTextStream.ReadLine();

==== Visual Basic Script ====

Text = WshTextStream.ReadLine

==== C++ ====

BSTR Text;
HRESULT hr = WshTextStream.ReadLine(&Text);

===== See Also ===== IWshTextStream