成免费的crm,久久国产精品新农夫导航新妓网,恋夜秀场全部视频安卓手机,女校花强奷在线播放A级

ASP ReadAll 方法

asp readall 方法

textstream 對象參考手冊 完整的 textstream 對象參考手冊

readall 方法可讀取整個 textstream 文件,并以字符串返回結果。

注意:此方法不適合大型文件(會浪費內存資源)。

語法

textstreamobject.readall

實例

<%
dim fs,f,t,x
set fs=server.createobject("scripting.filesystemobject")
set f=fs.createtextfile("c:\test.txt"")
f.write("hello world!")
f.close

set t=fs.opentextfile("c:\test.txt"",1,false)
x=t.readall
t.close
response.write("the text in the file is: " & x)
%>

輸出:

the text in the file is: hello world!

textstream 對象參考手冊 完整的 textstream 對象參考手冊
相關文章