Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.
[Visual Basic] Overloads Public Sub Write( _ ByVal value As Single _ ) [C#] public void Write( float value ); [C++] public: void Write( float value ); [JScript] public function Write( value : float );
Exception Type | Condition |
---|---|
IOException | An I/O error occurs. |
ArgumentNullException | value is a null reference (in Visual Basic Nothing). |
BinaryWriter Class | BinaryWriter Members | System.IO Namespace | BinaryWriter.Write Overload List