System.SyncObjs.TCountdownEvent.AddCount
Delphi
procedure AddCount(Count: Integer = 1);
C++
void __fastcall AddCount(int Count = 0x1);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TCountdownEvent |
Description
AddCount increments the current count.
Calling the AddCount method will increment the CurentCount property value with the number specified by the Count parameter.
By default, the Count parameter is 1.
Note: AddCount can only be called if the CurrentCount property is greater than zero.