Marshal::WriteInt16 Method (Object, Int32, Int16)
Note: This API is now obsolete.
Writes a 16-bit signed integer value to unmanaged memory at a specified offset.
Assemblies: System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
mscorlib (in mscorlib.dll)
[ObsoleteAttribute(L"WriteInt16(Object, Int32, Int16) may be unavailable in future releases.")] public: static void WriteInt16( Object^ ptr, int ofs, short val )
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.