Marshal.WriteInt16 Method

This type can be used only by trusted applications. If you try to use its members in a partial-trust application, your code will throw a MethodAccessException exception. This type is security-critical, which restricts its use.
[SECURITY CRITICAL]

Writes a 16-bit signed integer value to unmanaged memory.

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

  NameDescription
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 WriteInt16(IntPtr, Int16) Security Critical. Writes a 16-bit integer value to unmanaged memory.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 WriteInt16(IntPtr, Int32, Int16) Security Critical. Writes a 16-bit signed integer value into unmanaged memory.
Top

Community Additions

ADD
Show: