Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Marshal.WriteInt16 Method

Writes a 16-bit signed integer value to unmanaged memory. Writing to unaligned memory locations is supported.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Portable Class Library WriteInt16(IntPtr, Char) Writes a character as a 16-bit integer value to unmanaged memory.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library WriteInt16(IntPtr, Int16) Writes a 16-bit integer value to unmanaged memory.
Public method Static member Supported by Portable Class Library WriteInt16(IntPtr, Int32, Char) Writes a 16-bit signed integer value to unmanaged memory at a specified offset.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library WriteInt16(IntPtr, Int32, Int16) Writes a 16-bit signed integer value into unmanaged memory at a specified offset.
Public method Static member Supported by Portable Class Library WriteInt16(Object, Int32, Char) Obsolete. Writes a 16-bit signed integer value to unmanaged memory at a specified offset.
Public method Static member Supported by Portable Class Library WriteInt16(Object, Int32, Int16) Obsolete. Writes a 16-bit signed integer value to unmanaged memory at a specified offset.
Top
Show:
© 2015 Microsoft