NSObject.RetainCount Property

Definition

Returns the current Objective-C retain count for the object.

[get: Foundation.Export("retainCount")]
public virtual nuint RetainCount { get; }
member this.RetainCount : nuint

Property Value

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.

Applies to