Share via


IHTMLNamespace interface

This interface provides a means to dynamically import an element behavior into a document.

Members

The IHTMLNamespace interface inherits from the IDispatch interface. IHTMLNamespace also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLNamespace interface has these methods.

Method Description
attachEvent

Binds the specified function to an event, so that the function is called whenever the event fires on the object.

detachEvent

Unbinds the specified function from the event, so that the object stops receiving notifications when the event fires.

doImport

Dynamically imports an element behavior.

 

Properties

The IHTMLNamespace interface has these properties.

Property Description

name

Retrieves the name of the namespace.

readyState

Retrieves the current state of the object.

tagNames

urn

Sets or retrieves the URN of the object.

 

Remarks

Use IHTMLDocument4::namespaces to obtain a collection containing the namespaces, if any, that are declared in a document.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Conceptual

Introduction to Viewlink

About Element Behaviors