## Marshal::ReadInt16 method


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

```cpp
static int16_t System::Runtime::InteropServices::Marshal::ReadInt16(IntPtr ptr, int offset=0)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| ptr | IntPtr | مخزن الذاكرة. |
| الإزاحة | int | إزاحة إلى مخزن الذاكرة. |

### ReturnValue

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

## انظر أيضًا

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
