System.Classes.TObservers.RemoveObserver
Delphi
procedure RemoveObserver(const ID: Integer; const AIntf: IInterface); overload; virtual;
procedure RemoveObserver(const IDs: Array of Integer; const AIntf: IInterface); overload; virtual;
C++
virtual void __fastcall RemoveObserver(const int ID, const System::_di_IInterface AIntf)/* overload */;
virtual void __fastcall RemoveObserver(const int *IDs, const int IDs_High, const System::_di_IInterface AIntf)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TObservers |
Description
Removes one or more observers from the observers list.
There are two RemoveObserver overloaded methods. The first one removes a single observer, while the second one removes multiple observers, specified through an array of numerical observer IDs.