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


Close 方法

關(guān)閉打開的 TextStream 文件。

object.Close

object 應(yīng)為 TextStream 對(duì)象的名稱。

說明

下面例子舉例說明如何使用 Close 方法關(guān)閉打開的 TextStream 文件:

Sub CreateAFile
  Dim fso, MyFile
  Set fso = CreateObject("Scripting.FileSystemObject")
  Set MyFile = fso.CreateTextFile("c:\testfile.txt", True)
  MyFile.WriteLine("這是一個(gè)測(cè)試。")
  MyFile.Close
End Sub

請(qǐng)參閱

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

應(yīng)用于:TextStream 對(duì)象