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 (Boolean)

Writes a one-byte Boolean value to the current stream, with zero representing false and one representing true.

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

Parameters

value
The Boolean value to write (zero or 1).

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