Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

The IHTMLNamespaceCollection interface has these methods.

MethodDescription
add

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

 

Properties

The IHTMLNamespaceCollection interface has these properties.

PropertyDescription

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch
Conceptual
Introduction to Viewlink
About Element Behaviors

 

 

Community Additions

ADD
Show:
© 2015 Microsoft