xRecord.usageCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the current number of references (the value of the reference counter) that the object has.
public:
override int usageCount();
public override int usageCount ();
override this.usageCount : unit -> int
Public Overrides Function usageCount () As Integer
Returns
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.