Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 ==== <code javascript> var Text = WshTextStream.read(Characters); </code>==== Visual Basic Script ==== <code vb> Text = WshTextStream.read Characters </code>==== C++ ==== <code cpp> BSTR Text; HRESULT hr = WshTextStream.read(Characters, &Text); </code>===== See Also ===== [[:scripting:api:wsh-text-stream:start|IWshTextStream]] ~~NOTOC~~