property Notes.Item (ID as Variant) as Note
Returns a specific expression.

TypeDescription
ID as Variant A VARIANT expression that specifies the ID of the note being requested. The ID parameter of the Add method indicates the unique identifier of the note being added. If the ID parameter is a long expression between 0 and Count - 1, the Item property gets the Note by its index.
Note A Note object being accessed.
Use the Item property to access a specific member of the notes collection. The Count property counts the number of notes in the control. Use the Add method to add new notes to the chart area. Use the Remove method to remove a specific Note in the collection. The Clear method removes all notes in the control. Use the NoteFromPoint property to access the note from the cursor.

The following VB sample prints the ID for each note in the control:

Dim n As EXG2ANTTLibCtl.Note
For Each n In G2antt1.Chart.Notes
    Debug.Print n.ID
Next