欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

腳本運(yùn)行時(shí)庫  

TextStream 對象

方便對文件的順序訪問。

TextStream.{property  | method( )}

propertymethod 參數(shù)可以是與 TextStream 對象相連的任何屬性和方法。請注意在實(shí)際使用時(shí),TextStream 被從 FileSystemObject 返回的代表 TextStream 對象的變量占位符代替。

說明

在下面的代碼中,a 是由 FileSystemObject 的 CreateTextFile 方法返回的 TextStream 對象:

[JScript]
var fso = new ActiveXObject("Scripting.FileSystemObject");
var a = fso.CreateTextFile("c:\\testfile.txt", true);
a.WriteLine("This is a test.");
a.Close();
[VBScript]
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile= fso.CreateTextFile("c:\testfile.txt", True)
MyFile.WriteLine("This is a test.")
MyFile.Close

WriteLine 和 Close 是 TextStream 對象的兩個(gè)方法。

方法

Close 方法 | Read 方法 | ReadAll 方法 | ReadLine 方法 | Skip 方法 | SkipLine 方法 | Write 方法 | WriteBlankLines 方法 | WriteLine 方法

屬性

AtEndOfLine 屬性 | AtEndOfStream 屬性 | Column 屬性 | Line 屬性

請參閱

Dictionary 對象 | FileSystemObject 對象