Count Property (RootNode)

Topic Last Modified: 2006-06-13

The Count property returns the number of Node objects in the collection. This property is read-only.

Applies To

RootNode Interface

Syntax

Property Count As Long
HRESULT get_Count(long* pVal);

Parameters

  • pVal
    Returns the value of the Count property as a reference to a long.

Example

The following example displays the number of root nodes.

      

Dim rns As RootNodes
Set rns = EXTV1.GetRootNodes
MsgBox rns.Count