This document is archived and information here might be outdated.  Recommended version.


IEventListenerHelper.AdviseEvents Method (ArcObjects .NET 10.8 SDK)
ArcGIS Developer Help

IEventListenerHelper.AdviseEvents Method

Pass the IUnknown interface of the object and a UID that contains the guid of the interface to listen to.

[Visual Basic .NET]
Public Sub AdviseEvents ( _
    ByVal unkSource As Object, _
    ByVal uid As UID _
)
[C#]
public void AdviseEvents (
    object unkSource,
    UID uid
);
[C++]
HRESULT AdviseEvents(
  LPUNKNOWN unkSource,
  IUID* uid
);
[C++]
Parameters
unkSource [in]

unkSource is a parameter of type IUnknown uid [in]
uid is a parameter of type IUID*

Product Availability

Available with Bad Product code

See Also

IEventListenerHelper Interface