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

isDefaultNamespace method

Indicates whether or not a namespace is the default namespace for a document.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2Internet Explorer 9

 

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:

VARIANT_TRUE (true)

The namespace specified in the pfDefaultNamespace parameter is the default namespace for the document.

VARIANT_FALSE (false)

Namespace is not the default.

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft