isDefaultNamespace method
[This documentation is preliminary and is subject to change.]
Indicates whether or not a namespace is the default namespace for a document.
![]() ![]() |
Syntax
object.isDefaultNamespace(pvarNamespace, )Standards information
Parameters
- pvarNamespace [in]
-
Type: VARIANT
The namespace to be compared to the default namespace.
- pfDefaultNamespace [out, retval]
-
C++ A pointer to a Boolean that receives one of the following values: JavaScript Boolean. Returns one of the following values:
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Type: BooleanA pointer to a Boolean that receives one of the following values:Boolean. Returns one of the following values:VARIANT_TRUEtrueThe namespace specified in the pfDefaultNamespace parameter is the default namespace for the document.
VARIANT_FALSEfalseNamespace is not the default.
See also
- a
- applet
- attribute
- audio
- button
- div
- document
- documentType
- frame
- iframe
- img
- input type=button
- input type=checkbox
- input type=file
- input type=hidden
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- label
- legend
- marquee
- media
- object
- optGroup
- option
- select
- source
- span
- table
- textArea
- TextNode
- video
- Reference
- lookupNamespaceURI
- Other Resources
- XML Tutorial: Using Namespaces
Build date: 2/14/2012

