System::Runtime::InteropServices::Marshal::ReadInt16 طريقة

Marshal::ReadInt16 method

يقرأ short من الذاكرة.

static int16_t System::Runtime::InteropServices::Marshal::ReadInt16(IntPtr ptr, int offset=0)
ParameterTypeالوصف
ptrIntPtrمخزن الذاكرة.
الإزاحةintإزاحة إلى مخزن الذاكرة.

ReturnValue

قراءة القيمة.

انظر أيضًا