property Item.ID as Long
Retrieves or sets a value that specifies the item's identifier.

TypeDescription
Long A Long expression that defines the item's identifier. This property can be specified at adding time, by using the ID parameter of the Add method.
Use the ID property to associate an unique identifier to each item. You can use the Item property of the exContextMenu component to get the Item object based on its identifier. Use the Debug property to display the identifiers for all visible items, for debugging purposes. The First number in the [] parenthesis indicates the item's ID property. Use the Caption property to specify the item's caption. Use the UserData property to associate any extra data to your items.