====== read ======
Method of [[:scripting:api:wsh-text-stream:start|IWshTextStream]]
===== Description =====
Reads a specified number of characters from a TextStream file and returns the resulting string
===== Parameters =====
* [[scripting:api:data-type:long|long]] **Characters**
==== Return Value ====
* [[scripting:api:data-type:BSTR|BSTR]] **Text**
===== 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 =====
[[:scripting:api:wsh-text-stream:start|IWshTextStream]]
~~NOTOC~~