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. ====== ReadLine ====== Method of [[:scripting:api:wsh-text-stream:start|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 ==== * [[scripting:api:data-type:BSTR|BSTR]] **Text** ===== Syntax ===== ==== JavaScript ==== <code javascript> var Text = WshTextStream.ReadLine(); </code>==== Visual Basic Script ==== <code vb> Text = WshTextStream.ReadLine </code>==== C++ ==== <code cpp> BSTR Text; HRESULT hr = WshTextStream.ReadLine(&Text); </code>===== See Also ===== [[:scripting:api:wsh-text-stream:start|IWshTextStream]] ~~NOTOC~~