

| Type | Description | |||
| Index as Variant | A string expression that indicates the key of the node being searched, or a long expression that indicates the index of node being accessed. | |||
| Node | A Node object being accessed. |
The following sample shows how to enumerate the nodes in the collection:
Dim n As EXMLGRIDLibCtl.Node
For Each n In XMLGrid1.Nodes
Debug.Print n.Key
Next
or
Dim i As Long
With XMLGrid1.Nodes
For i = 0 To .Count - 1
Debug.Print .Item(i).Key
Next
End With
The following sample enumerates all visible nodes in the control:
With XMLGrid1
Dim n As EXMLGRIDLibCtl.Node, i As Long
i = 0
Set n = .NodeByPosition(i)
While Not n Is Nothing
Debug.Print n.Name
i = i + 1
Set n = .NodeByPosition(i)
Wend
End With