MonoTouch.Foundation.NSObject.Autorelease Method
[Dangerous] Invokes the low-level Objective-C autorelease method on the object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Obsolete("Low-level API warning: Use at your own risk: this calls the Retain method on the underlying object; Use DangerousAutorelease to avoid this warning")]
public NSObject Autorelease ()

Returns

Self

Remarks

In general, you should not ever have to call this method unless you are doing some very explicit memory management on your own. In particular, you should never call this method on an NSObject that has been surfaced to managed code without previously calling the NSObject.Retain method.

This method is present to support advanced uses of the runtime and is not intended for general consumption.

Requirements

Namespace: MonoTouch.Foundation
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0