namespaceURI Property (XMLSchemaCache/IXMLSchemaCollection)

Returns the namespace at the specified index.

strNamespaceURI = objXMLDOMSchemaCollection.namespaceURI(index);

HRESULT get_namespaceURI(
  long index,
  BSTR* length
);

General Remarks

The namespaceURI property allows you to iterate through the collection to discover its contents. You can then use the get method (namespace) to see if there is an associated schema.

This is the default collection property, so you can do the following.

var uri = xmldoc.namespaces(1)

This property is read-only, and applies to the following objects and interfaces:

XMLSchemaCache/IXMLDOMSchemaCollection

See Also

add Method | get Method

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.