Click or drag to resize
BinaryWriterWrite Method (Decimal)
Writes a decimal value to the current stream and advances the stream position by sixteen bytes.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual void Write(
	decimal value
)

Parameters

value
Type: SystemDecimal
The decimal value to write.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
ObjectDisposedExceptionThe stream is closed.
See Also