isDefaultNamespace method
Indicates whether or not a namespace is the default namespace for a document.
![]() ![]() |
Syntax
HRESULT retVal = object.isDefaultNamespace(pvarNamespace, pfDefaultNamespace);
Parameters
- pvarNamespace [in]
-
Type: VARIANT
The namespace to be compared to the default namespace.
- pfDefaultNamespace [out, retval]
-
Type: VARIANT_BOOL
A pointer to a VARIANT_BOOL that receives one of the following values:
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
See also
- Reference
- IHTMLDOMNode3::lookupNamespaceURI
- Other Resources
- XML Tutorial: Using Namespaces
Show:

