CorLib  

StopWatch

StopWatch overview

Implements:

IObject 

Public:

Properties:
Elapsed (get) Returns the elapsed time as a TimeSpan object.  
ElapsedMilliseconds (get) Returns the time elapsed in milliseconds.  
ElapsedTicks (get) Returns the elapsed time in Ticks.  
IsRunning (get) Returns if the StopWatch is currently running.  
Methods:
Equals This function determines if the value passed in is the same as the current object instance. Meaning, are the Value and this object the same object in memory.  
GetHashCode Returns a psuedo-unique number used to help identify this object in memory. The current method is to return the value obtained from ObjPtr.  
Reset Stops the StopWatch object and resets the elapsed time to zero.  
Restart Restarts the StopWatch from zero.  
StartCount Starts the StopWatch object.  
StopCount Halts the StopWatch if it is running, storing the elapsed time so far.  
ToString Returns a string representation of this object.  

See Also