NSObject.RetainCount Proprietà

Definizione

Restituisce il conteggio di conservazione Objective-C corrente per l'oggetto.

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

Valore della proprietà

System.System.UIntPtr System.unativeint

Implementazioni

Attributi

Commenti

Questa proprietà è esposta a scopo di debug, ma in generale potrebbe non essere molto utile, poiché l'oggetto potrebbe essere stato aggiunto a un NSAutoReleasePool. Sfortunatamente, non è uno strumento di misurazione preciso.

Si applica a