property NAVHostEvent.ID as Long
Indicates the identifier of the event.

TypeDescription
Long A Long expression 
The ID property indicates the identifier of the event. The ID property may give different values for different versions of hosting control, so you must check for compatibility, so it is not guaranteed that the ID will be unique for any version of the hosting control. The Name property indicates the name of the event. You can use the Name or ID property to identify a specified event you need to handle in the hosting control. The AsString property gives a brief description including name, identifier and arguments of the event.

The Arguments property, gives a NAVObjectTemplate object, whose Item or Template properties can be used to access the event's argument using the x-script language. The AsString property may returns: "The trial/evaluation version of the control limits firing this event. In other words, using the trial/evaluation version won't fire the event every time it should.", only for not-registered version.