Returns the namespace at the specified index.
strNamespaceURI = objXMLDOMSchemaCollection.namespaceURI(index);
strNamespaceURI = objXMLDOMSchemaCollection.namespaceURI(index)
HRESULT namespaceURI(long index, BSTR* length);
add
method (that is, leading and trailing white space is trimmed, new lines are converted to spaces, and multiple adjacent white space characters are collapsed into one space).String. 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)
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button in the upper-left corner of the page.
Applies to: XMLSchemaCache/IXMLDOMSchemaCollection