System::Runtime::InteropServices::Marshal::AllocHGlobal 메서드

Marshal::AllocHGlobal(int32_t) method

관리되지 않는 메모리를 할당합니다.

static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(int32_t bytes_count)
매개변수형식설명
bytes_countint32_t필요한 바이트 수.

ReturnValue

할당된 메모리에 대한 포인터.

또 보기

Marshal::AllocHGlobal(IntPtr) method

관리되지 않는 메모리를 할당합니다.

static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(IntPtr bytes_count)
매개변수형식설명
bytes_countIntPtr필요한 바이트 수.

ReturnValue

할당된 메모리에 대한 포인터.

또 보기