System.Diagnostics.TStopwatch.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function Create: TStopwatch; static;

C++

static TStopwatch __fastcall Create();

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 Create to initialize and return a new TStopwatch value. Create sets the newly created stopwatch to "stopped". To create a started stopwatch, use the StartNew method.

See Also