Examples: GetChild method (NotesOutline - LotusScript®)

This example retrieves the child of the first entry in the products outline and sets the value of its URL property to http://www.acme.com.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim outline As NotesOutline
Dim entryA As NotesOutlineEntry
Dim entryB As NotesOutlineEntry
Set db = session.CurrentDatabase
Set outline = db.GetOutline("products")
Set entryA = outline.GetFirst()
Set entryB = outline.GetChild(entryA)
Call entryB.SetURL("http://www.acme.com")
Call outline.save()