getNotesCountForObject

getNotesCountForObject(target:      Object;
                       eventType:   Integer): Integer;

The getNotesCountForObject method of the System class returns the number of notification subscriptions for the object specified in the target parameter.

The parameters of the getNotesCountForObject method are listed in the following table.

Parameter Specifies…
target The object for which notifications are subscribed.
eventType The event for which the notification count is requested. The event can refer to any event; for example, SystemEvents category global constant or user‑defined events.

For:

2025.0.01 and higher