Share via


namespaces Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Returns the list of namespaces used in the document as XMLSchemaCache.

Script Syntax

objXMLDOMSchemaCollection = objIXMLDOMDocument2.namespaces;

Remarks

Script Parameters

None.

Script Return Value

Object. Returns a collection of all namespaces for the document.

C/C++ Syntax

HRESULT get_namespaces(
  IXMLDOMSchemaCollection** namespaceCollection
);

Remarks

C/C++ Parameters

  • namespaceCollection
    [out, retval] Collection of all namespaces for the document.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

If there are no schemas, it returns an empty collection.

This property applies to the following interface:

XMLSchemaCache/IXMLDOMSchemaCollection.