Microsoft XML SDK 2.6 - XML Reference

IXMLDOMNodeList::length Method

IXMLDOMNodeList::get_length Method

Indicates the number of items in the collection.

Visual Basic Syntax

lValue = oXMLDOMNodeList.length

C/C++ Syntax

HRESULT get_length(
    long *listLength);

Parameters

listLength [out]
Number of items in the collection.

C/C++ Return Values

S_OK
Value returned if successful.
E_INVALIDARG
Value returned if listLength is Null.

See Also

IXMLDOMNodeList Interface | IXMLDOMSelection Interface