共用方式為


IHostBehaviorInit interface

Enables the host application to populate the namespace table for the current document.

Members

The IHostBehaviorInit interface inherits from the IUnknown interface but does not have additional members.

Remarks

MSHTML calls the host application's IServiceProvider::QueryService to request the IElementBehaviorFactory interface, and requests the host for the IHostBehaviorInit interface. If the IHostBehaviorInit interface is available, MSHTML calls the IHostBehaviorInit::PopulateNamespaceTable method. The host application can then query MSHTML for the IElementNamespaceTable interface and use the IElementNamespaceTable::

AddNamespace method to append additional namespaces to the namespace table.

In Microsoft Internet Explorer 6, this interface enables the host application to populate the namespace table for the current document.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl