Table of Contents

TEvent<T>.Unsubscribe Method

Removes a listener from the event's subscription list.

Remarks

If the listener is not found, the call is silently ignored. If the same listener was subscribed multiple times, only the first occurrence is removed.

Syntax

Unit: Bcl.Types

procedure TEvent<T>.Unsubscribe(Listener: T);

Parameters

<-> Parameter Type Description
Listener T The listener to remove.

See also