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

Marshal::ReadInt16 method

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

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

ReturnValue

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

انظر أيضًا