NSObject.RetainCount Property
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.
Returns the current Objective-C retain count for the object.
public virtual nuint RetainCount { [Foundation.Export("retainCount")] get; }
member this.RetainCount : nuint
Property Value
System.System.UIntPtr
System.unativeint
Implements
- Attributes
Remarks
This property is exposed for debugging purposes, but in general it might not be very useful, since the object might have been added to an NSAutoReleasePool. Unfortunatelly, it is not a precise measuring tool.