System::Runtime::InteropServices::Marshal::FreeHGlobal 方法

Marshal::FreeHGlobal method

释放非托管内存。

static void System::Runtime::InteropServices::Marshal::FreeHGlobal(IntPtr address)
参数类型描述
地址IntPtr指向已分配内存的指针。

另见