System.Diagnostics.TStopwatch.StartNew

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also