read

Method of IWshTextStream

Description

Reads a specified number of characters from a TextStream file and returns the resulting string

Parameters

Return Value

Syntax

JavaScript

var Text = WshTextStream.read(Characters);

Visual Basic Script

Text = WshTextStream.read Characters

C++

BSTR Text;
HRESULT hr = WshTextStream.read(Characters, &Text);

See Also

IWshTextStream