MonoTouch.Foundation.NSObject.Release Method
[Dangerous] Invokes the low-level Objective-C release 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 Release method on the underlying object; Use DangerousRelease to avoid this warning")]
public void Release ()

Remarks

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.

Requirements

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