ASP Effacer Méthode
Effacer Effacer toute méthode de sortie HTML a été tamponné.
Remarque: Cette méthode ne supprime pas les en- têtes de réponse, le corps seule réponse vide.
Remarque: Si Response.Buffer est faux, alors cette méthode provoquera une erreur d' exécution.
grammaire
response.Clear
Exemples
<%
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.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)
Complete Response Object Reference