property Node.Nodes as Nodes
Gets the collection of Node objects assigned to the current node.

TypeDescription
Nodes A Nodes object that specifies the collection of child nodes.
Use the Nodes method to access the node's child nodes collection. Use the Add method to insert child nodes. Use the Editor property to assign an editor to a node. Use the Editors property to access the control's collection of editors.  Use the Nodes property to access the control's nodes collection.

The following sample adds few nodes to the control's nodes collection.

Private Sub Form_Load()
    With XMLGrid1
        .BeginUpdate
        
        With .Nodes
            With .Add("Root").Nodes
                .Add "Child 1", "text1"
                .Add "Child 2", "text2"
            End With
        End With
        .EndUpdate
    End With
End Sub