property Note.ID as Variant
Specifies the identifier of the note.

TypeDescription
Variant A VARIANT expression that specifies the identifier of the note. Could be a number, a string, a date, an object, and so on.
The ID property indicates the unique identifier to refer a note. Currently, this property is read only, so use the ID parameter of the Add method to specify the identifier of the note. The Data property can store anything, from numbers, strings to objects. Use the Item property to access a note giving its identifier. The Count property indicates the number of Note objects in the Notes collection.

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