System.Diagnostics.TStopwatch.StartNew

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class function StartNew: TStopwatch; static;

C++

static TStopwatch __fastcall StartNew();

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Diagnostics.pas
System.Diagnostics.hpp
System.Diagnostics TStopwatch

Description

Initialise et renvoie un nouveau TStopwatch.

Utilisez StartNew pour initialiser et renvoyer une valeur nouvelle de TStopwatch. StartNew définit le chronomètre nouvellement créé à "démarré". Pour créer un chronomètre arrêté, utilisez la méthode Create.

Voir aussi