

| Type | Description | |||
| Name as String | A string expression that indicates the name of the node being inserted. | |||
| Value as Variant | A Variant expression that indicates the value of the node being inserted. | |||
| Key as Variant | A string or long expression that indicates the key of the node being inserted. | 
| Return | Description | |||
| Node | A Node object being created. | 
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