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


[System.Obsolete("Low-level API warning: Use at your own risk: this calls the Release method on the underlying object; Use DangerousRelease to avoid this warning")]
public void Release ()


This will invoke the Objective-C release method on the object, effectively decrementing its use count.

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.


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