Partilhar via


IElementBehaviorSite interface

Provides communication between MSHTML and a Dynamic HTML (DHTML) behavior.

Members

The IElementBehaviorSite interface inherits from the IUnknown interface. IElementBehaviorSite also has these types of members:

  • Methods

Methods

The IElementBehaviorSite interface has these methods.

Method Description
GetElement

Gets the element to which a Dynamic HTML (DHTML) behavior is attached.

RegisterNotification

Attach to Dynamic HTML (DHTML) behavior-specific notifications.

 

Remarks

This interface is passed to the DHTML behavior through a call to the IElementBehavior::Init method.

You can query the IElementBehaviorSite interface for the IElementBehaviorSiteOM interface, the IElementBehaviorSiteCategory interface, the IBindHost interface, and the IServiceProvider interface.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll