ASP Clear Method
❮ ပြီးပြည့်စုံသော တုံ့ပြန်မှု Object ရည်ညွှန်းချက်
Clear method သည် buffered HTML output မှန်သမျှကို ရှင်းလင်းသည်။
မှတ်ချက်- ဤနည်းလမ်းသည် တုံ့ပြန်မှုဆိုင်ရာ ခေါင်းစီးများကို မရှင်းလင်းဘဲ၊ တုံ့ပြန်မှုကိုယ်ထည်သာဖြစ်သည်။
မှတ်ချက်- တုံ့ပြန်မှု။ Buffer သည် မှားယွင်းနေပါက၊ ဤနည်းလမ်းသည် run-time error ဖြစ်လိမ့်မည်။
အထားအသို
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>
Output:
(nothing)
❮ ပြီးပြည့်စုံသော တုံ့ပြန်မှု Object ရည်ညွှန်းချက်