Stopwatch.Reset Method

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

Stops time interval measurement and resets the elapsed time to zero.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Sub Reset
public void Reset()

Version Information

XNA Framework

Supported in: Xbox 360

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.