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 |
---|---|
Sets or retrieves the number of objects in a collection. |
Remarks
To obtain an IHTMLNamespaceCollection interface pointer for a document:
- Call QueryInterface on a document interface pointer requesting an IHTMLDocument4 interface.
- Call IHTMLDocument4::namespaces to retrieve an IDispatch interface pointer for the namespace collection.
- 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
Conceptual