'Declaration
Public Event OnCustomAnnotationPaint As AnnotationManager.OnCustomAnnotationPaintEventHandler
public event AnnotationManager.OnCustomAnnotationPaintEventHandler OnCustomAnnotationPaint
public event OnCustomAnnotationPaint: AnnotationManager.OnCustomAnnotationPaintEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event AnnotationManager.OnCustomAnnotationPaintEventHandler* OnCustomAnnotationPaint
public: event AnnotationManager.OnCustomAnnotationPaintEventHandler^ OnCustomAnnotationPaint