ASP Contents.RemoveAllMethod


Application 对象参考手册Complete Application Object Reference Manual

The Contents.RemoveAll method deletes all items from the Contents collection.

Syntax

Application.Contents.RemoveAll()

Session.Contents.RemoveAll()

Example for the Application object

<%
Application.Contents.RemoveAll()
%>

Example for the Session object

<%
Session.Contents.RemoveAll()
%>


Application 对象参考手册Complete Application Object Reference Manual Other Extensions