NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryWriter.Write (Int16)

Writes a two-byte signed integer to the current stream and advances the stream position by two bytes.

[Visual Basic]
Overloads Public Sub Write( _
   ByVal value As Short _
)
[C#]
public void Write(
   short value
);
[C++]
public: void Write(
   short value
);
[JScript]
public function Write(
   value : Int16
);

Parameters

value
The value to write.

Exceptions

Exception Type Condition
IOException An I/O error occurs.
ArgumentNullException value is a null reference (in Visual Basic Nothing).

See Also

BinaryWriter Class | BinaryWriter Members | System.IO Namespace | BinaryWriter.Write Overload List