Stopwatch Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Stopwatch type exposes the following members.

Methods

  Name Description
Public methodSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodStatic memberSupported by Xbox 360 GetTimestamp Gets the current number of ticks in the timer mechanism.
Public methodSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Xbox 360 Reset Stops time interval measurement and resets the elapsed time to zero.
Public methodSupported by Xbox 360 Start Starts, or resumes, measuring elapsed time for an interval.
Public methodStatic memberSupported by Xbox 360 StartNew Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time.
Public methodSupported by Xbox 360 Stop Stops measuring elapsed time for an interval.
Public methodSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top