Mac Guides | Samples

MonoMac.Foundation.NSAutoreleasePool Class

A class used to keep track of objects to be released at a later time.

See Also: NSAutoreleasePool

Syntax

[MonoMac.Foundation.Register("NSAutoreleasePool", true)]
public class NSAutoreleasePool : NSObject, IDisposable

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSAutoreleasePool are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.

Protected Methods

override
Dispose(Boolean)
Releases the resourced used by the NSAutoreleasePool object.