====== 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 ==== var Text = WshTextStream.ReadLine(); ==== Visual Basic Script ==== Text = WshTextStream.ReadLine ==== C++ ==== BSTR Text; HRESULT hr = WshTextStream.ReadLine(&Text); ===== See Also ===== [[:scripting:api:wsh-text-stream:start|IWshTextStream]] ~~NOTOC~~