ASP Cancella Metodo
Sereno qualsiasi metodo output HTML è stato tamponato.
Nota: Questo metodo non cancella il intestazioni di risposta, solo corpo risposta vuota.
Nota: Se Response.Buffer è falsa, allora questo metodo causerà un errore di run-time.
grammatica
response.Clear
Esempi
<%
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)
Risposta completa Object Reference