length Property (XMLSchemaCache/IXMLSchemaCollection)
Returns the number of namespaces currently in the collection.
Note The namespaces collection only includes namespaces explicitly declared as attribute values using the xmlns
attribute. If a namespace is not explicitly used in an XML document when it loads into the DOM, it will not be added to the collection.
[Script]
Script Syntax
lValue = objXMLDOMSchemaCollection.length;
[Visual Basic]
Visual Basic Syntax
lValue = objXMLDOMSchemaCollection.length
[C/C++]
C/C++ Syntax
HRESULT length(long * length);
Parameters
- length [out, retval]
- The number of namespaces in the collection.
C/C++ Return Values
- S_OK
- The value returned if successful.
Remarks
Long integer. The property is read-only.
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.
See Also
Applies to: IXMLSchemaCollection/XMLSchemaCache