ASP przejrzystej metody
Clear każda metoda wyświetlania HTML został buforowane.
Uwaga: Ta metoda nie usunąć nagłówki odpowiedzi, ciało tylko pustą odpowiedź.
Uwaga: Jeśli response.Buffer jest fałszywy, to metoda ta spowoduje błąd w czasie wykonywania.
gramatyka
response.Clear
Przykłady
<%
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)
Całkowita odpowiedź Object Reference