System.SyncObjs.TCountdownEvent.Reset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Reset; overload;
procedure Reset(Count: Integer); overload;

C++

void __fastcall Reset()/* 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.

See Also