ASP Contents.RemoveAll Method
Last Updated :
27 Jan, 2021
The ASP Contents.RemoveAll Method is used to remove or erase all the items from the content List. It is a predefined method of the Application type Object.
Syntax:
Application.Contents.RemoveAll()
Parameter Value : This method does not contain any value.
Return Value : It do not return any value.
Example: Below code used to delete all the items from the content collection.
<%
Application.Contents.RemoveAll()
%>
|
Share your thoughts in the comments
Please Login to comment...