These constants are used as components in a bitfield to specify the behavior of NSAllocateCollectable and NSReallocateCollectable.
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public enum NSMemoryAllocation
Public Enumeration NSMemoryAllocation
public enum class NSMemoryAllocation

Member | Description |
---|---|
NSScannedOption | Specifies allocation of scanned memory. Available in Mac OS X v10.4 and later. |
NSCollectorDisabledOption | Specifies that the block is retained, and therefore ineligible for collection. Specifying this option is equivalent to invoking disableCollectorForPointer: with the returned block as the argument. Available in Mac OS X v10.5 and later. |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)