Discuss this help topic in SecureBlackbox Forum

TElXMLDOMNodeList.Length

TElXMLDOMNodeList     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This property contains the number of nodes in the list.

Declaration

[C#/Java]
    int Length;

[VB.NET]
    Property Length As Integer

[Pascal]
    property Length : integer;

[C++]
    int32_t get_Length();

[PHP]
    integer get_Length()

Description

    Use this property to get the number of nodes in the node list. Use Item property to access individual nodes.

    Note, that the property value is calculated each time you access it. This can be time-consuming. If you need to iterate all elements in the list, don't use Length property; use Item proeprty to access the items, increasing the index until Item returns null/Nothing/nil.

See also:     Item    

Discuss this help topic in SecureBlackbox Forum