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
HRESULT retVal = object.isDefaultNamespace(pvarNamespace, );
Standards information
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.
See also
Reference
Other Resources
XML Tutorial: Using Namespaces
Build date: 1/26/2012
.png)
.png)