طريقة 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

مؤشر إلى الذاكرة المخصصة.

انظر أيضًا