Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

xRecord.usageCount Method [AX 2012]

Retrieves the current number of references (the value of the reference counter) that the object has.

public int usageCount()

Run On

Called

Return Value

Type: int
The current number of references that the object has.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.