StopWatch: StartCount

StartCount

Starts the StopWatch object.



 Public Sub StartCount ( )

Remarks

If StartCount is called again, the elapsed time is not reset. The elapsed time is increased as normal, but does not reflect the time spent while the StopWatch was not running.

Using the StartCount and StopCount allows for timing of only portions that are prefered and accumulates only those portions. The elapsed time properties will reflect the sum total of those timed portions. Calling Reset will set the elapsed time to zero.

If the StopWatch is already running, then nothing is changed.

See Also

Project CorLib Overview

Class StopWatch Overview