IHTMLNamespaceCollection interface

This interface is a collection of all namespace objects associated with the document.

Members

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

  • Methods
  • Properties

Methods

The IHTMLNamespaceCollection interface has these methods.

Method Description
add

Creates a new namespace object and adds it to the collection.

 

Properties

The IHTMLNamespaceCollection interface has these properties.

Property Description

length

Sets or retrieves the number of objects in a collection.

 

Remarks

To obtain an IHTMLNamespaceCollection interface pointer for a document:

  1. Call QueryInterface on a document interface pointer requesting an IHTMLDocument4 interface.
  2. Call IHTMLDocument4::namespaces to retrieve an IDispatch interface pointer for the namespace collection.
  3. Call QueryInterface on the IDispatch interface requesting an IHTMLNamespaceCollection interface.

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