Op Englesch liesen Editéieren

Deelen iwwer


NSObject.RetainCount Property

Definition

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

C#
public virtual nuint RetainCount { [Foundation.Export("retainCount")] get; }

Property Value

System.System.UIntPtr

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

Produkt Versiounen
Xamarin iOS SDK 12