MonobjcMonobjc Documented Class Library
NSMemoryAllocation Enumeration
NamespacesMonobjc.FoundationNSMemoryAllocation

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.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSMemoryAllocation
Public Enumeration NSMemoryAllocation
public enum class NSMemoryAllocation
Members
MemberDescription
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.


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

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)