Remove

The Remove method takes the name of a counter, removes the counter from the Counters object, and deletes the counter from the Counters.txt file.

Syntax

Counters.Remove(CounterName)

 

Parameters
CounterName
A string containing the name of the counter.
Example

The following code removes the counter hitscounter from the ounters.txt file.

<% Counters.Remove(hitscounter) %> 
 
See Also

Get, Increment, Set