次の方法で共有


length Property (IXMLDOMNodeList) (Compact 2013)

3/26/2014

Indicates the number of items in the collection.

Syntax

lValue = oXMLDOMNodeList.length;
HRESULT get_length(
  long* listLength
);

Parameters

Script

None.

C/C++

  • listLength
    [out, retval] Number of items in the collection.

Return Value

Script

Long integer. Number of items in the collection.

C/C++

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

Remarks

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

IXMLDOMNodeList and IXMLDOMSelection

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties