System.Win.ComObj.TAutoObject.EventConnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EventConnect(const Sink: IUnknown; Connecting: Boolean);

C++

void __fastcall EventConnect(const System::_di_IInterface Sink, bool Connecting);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TAutoObject

Description

Queries the interface Sink parameter and saves the EventSink.

EventConnect sets the EventSink property by querying the interface Sink parameter that is passed in for events. This method is called only if you set the Generate Event Support Code option of the Automation wizard.

See Also