Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Timers
Timer Class
Methods
 Start Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
Timer.Start Method

Starts raising the Elapsed event by setting Enabled to true.

[Visual Basic]
Public Sub Start()
[C#]
public void Start();
[C++]
public: void Start();
[JScript]
public function Start();

Remarks

If Enabled is set to true and AutoReset is set to false, the Timer raises the Elapsed event only once, the first time he interval elapses. When Enabled is true and AutoReset is true, the Timer continues to raise the Elapsed event on the specified interval.

You can also start timing by setting Enabled to true.

Note   If AutoReset is false, the Start method must be called in order to start the count again.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Timer Class | Timer Members | System.Timers Namespace | Interval | AutoReset | Enabled | Stop | Elapsed

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker