System.IO.TextWriter.Write Method

Writes the text representation of a decimal value to the text string or stream.

Syntax

public virtual void Write (decimal value)

Parameters

value
The decimal value to write.

Exceptions

TypeReason
System.IO.IOException An I/O error occurred.

Remarks

The TextWriter.FormatProvider property, if not null, specifies the culture-specific formatting.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0