## Marshal::WriteInt32 method


向内存写入整数。

```cpp
static void System::Runtime::InteropServices::Marshal::WriteInt32(IntPtr ptr, int offset, int32_t value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| ptr | IntPtr | 内存缓冲区。 |
| offset | int | 内存缓冲区的偏移量。 |
| value | int32_t | 用于写入。 |

## 另见

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