Method Free
Free(void*)
Frees a block of memory (释放内存块).
[CLSCompliant(false)]
public static void Free(void* ptr)
Parameters
ptr
void*A pointer to the block of memory that should be freed (指向应释放的内存块的指针).
Remarks
This method does nothing if ptr
is null
(如果 ptr 为 null ,则此方法不执行任何作用).
This method is a thin wrapper over the C free
API (此方法是 C free API 上的精简包装器).