The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Marshal::WriteIntPtr Method
.NET Framework (current version)
Writes a processor native-sized integer value to unmanaged memory. 32-bit integers are written on 32-bit systems, and 64-bit integers are written on 64-bit systems. Writing to unaligned memory locations is supported.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | WriteIntPtr(IntPtr, Int32, IntPtr) | Writes a processor native-sized integer value to unmanaged memory at a specified offset. |
![]() ![]() | WriteIntPtr(IntPtr, IntPtr) | Writes a processor native sized integer value into unmanaged memory. |
![]() ![]() | WriteIntPtr(Object^, Int32, IntPtr) | Writes a processor native sized integer value to unmanaged memory. |
Show:

