CFAllocator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class that allows for explicit allocation and de-allocation of memory.
public class CFAllocator : CoreFoundation.NativeObject
type CFAllocator = class
inherit NativeObject
- Inheritance
Properties
| Name | Description |
|---|---|
| Default | |
| Handle | (Inherited from DisposableObject) |
| Malloc | |
| MallocZone | |
| Null | |
| Owns | (Inherited from DisposableObject) |
| SystemDefault | |
Methods
| Name | Description |
|---|---|
| Allocate(Int64) | |
| ClearHandle() | (Inherited from DisposableObject) |
| Deallocate(IntPtr) | |
| Dispose() | (Inherited from DisposableObject) |
| Dispose(Boolean) | (Inherited from NativeObject) |
| Equals(Object) | (Inherited from DisposableObject) |
| GetCheckedHandle() | (Inherited from DisposableObject) |
| GetHashCode() | (Inherited from DisposableObject) |
| GetTypeID() |
Type identifier for the CoreFoundation.CFAllocator type. |
| InitializeHandle(NativeHandle) | (Inherited from DisposableObject) |
| Release() | (Inherited from NativeObject) |
| Retain() | (Inherited from NativeObject) |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |