Name

TextStream.WriteLine Method

Syntax

                  oTextStreamObj
                  .WriteLine (String)
oTextStreamObj

Use: Required

Data Type: TextStream object

Any property or object variable returning a writable TextStream object.

String

Use: Required

Data Type: String

A string expression to write to the file.

Availability

W

Description

Writes a string immediately followed by a newline character to a text file.

Get VBScript in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.