Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the current number of references (the value of the reference counter) that the object has.
Syntax
public int usageCount()
Run On
Called
Return Value
Type: int
The current number of references that the object has.
Remarks
This method is overridden. When an object is created, its reference counter equals 1. When a new reference is created, its value increases. As a reference goes out of scope, its value decreases.