ASP Contents.RemoveAll 方法
2018-09-23 19:55 更新
ASP Contents.RemoveAll 方法
![Session 对象参考手册](https://7n.w3cschool.cn/statics/images/course/up.gif)
Contents.RemoveAll 方法从 Contents 集合删除所有的项目。
语法
Application.Contents.RemoveAll()
Session.Contents.RemoveAll()
Session.Contents.RemoveAll()
针对 Application 对象的实例
<%
Application.Contents.RemoveAll()
%>
Application.Contents.RemoveAll()
%>
针对 Session 对象的实例
<%
Session.Contents.RemoveAll()
%>
Session.Contents.RemoveAll()
%>
![Session 对象参考手册](https://7n.w3cschool.cn/statics/images/course/up.gif)
以上内容是否对您有帮助:
更多建议: