Easy Tutorial
❮ Met Contents Remove App Prop Shortpath File ❯

ASP Contents Collection



The Contents collection contains all items added to the application/session through script commands.

Note: To remove items from the Contents collection, use the Remove and RemoveAll methods.

Syntax

Parameter Description
key Required. The name of the item to retrieve.

Examples for the Application Object

Example 1

Note that both name and objtest will be appended to the Contents collection:

Example 2

Iterate through the Contents collection:

Example 3


Examples for the Session Object

Example 1

Note that both name and objtest will be appended to the Contents collection:

Example 2

Iterate through the Contents collection:

Example 3


❮ Met Contents Remove App Prop Shortpath File ❯