System.SyncObjs.TCountdownEvent.Reset
Delphi
procedure Reset; overload;
procedure Reset(Count: Integer); overload;
C++
void __fastcall Reset(void)/* overload */;
void __fastcall Reset(int Count)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TCountdownEvent |
Description
Resets the CurrentCount property.
The Reset method has two overloads.
The first one resets the CurrentCount property to the value of the InitialCount property.
The second overload resets both CurrentCount and InitialCount properties to the value given by the Count
parameter.