ASP Clear 方法

response 对象参考手册

定义和用法

Clear 方法清空任何已缓冲的 HTML 输出。

注释:此方法无法清除响应的头部,只能清空响应的正文。

注释:假如 response.Buffer 为 false,那么此方法会引起一个 run-time 错误。

语法

response.Clear

实例

<%
response.Buffer=true
%>
<html>
<body>
<p>This is some text I want to send to the user.</p>
<p>No, I changed my mind. I want to clear the text.</p>
<%
response.Clear
%>
</body>
</html>

输出:

(nothing)

response 对象参考手册

系统帮助 | 给我留言 | 收藏本站
Copyright © 2005-2008 www.cnn84.com All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南