Edit

Share via


CFAllocator Class

Definition

A class that allows for explicit allocation and de-allocation of memory.

public class CFAllocator : IDisposable, ObjCRuntime.INativeObject
type CFAllocator = class
    interface INativeObject
    interface IDisposable
Inheritance
CFAllocator
Implements

Constructors

CFAllocator(IntPtr, Boolean)
CFAllocator(IntPtr)

Properties

Default
Handle

Handle (pointer) to the unmanaged object representation.

Malloc
MallocZone
Null
SystemDefault

Methods

Allocate(Int64)
Deallocate(IntPtr)
Dispose()

Releases the resources used by the CFAllocator object.

Dispose(Boolean)

Releases the resources used by the CFAllocator object.

Finalize()

Finalizer for the CFAllocator object

GetTypeID()

Type identifier for the CoreFoundation.CFAllocator type.

Applies to