System.Diagnostics.TStopwatch.StartNew
Delphi
class function StartNew: TStopwatch; static;
C++
static TStopwatch __fastcall StartNew();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Diagnostics.pas System.Diagnostics.hpp |
System.Diagnostics | TStopwatch |
Description
Initializes and returns a new TStopwatch.
Use StartNew to initialize and return a new TStopwatch value. StartNew sets the newly created stopwatch to "started". To create a stopped stopwatch, use the Create method.