Xojo.IO.TextOutputStream.Close
From Xojo Documentation
Method
Closes the TextOutputStream. The stream is also closed automatically when it goes out of scope.
Sample Code
outputStream.Close
Closes the TextOutputStream. The stream is also closed automatically when it goes out of scope.