Share via


Write Method (Single)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes the text representation of a 4-byte floating-point value to the text string or stream.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Syntax

'Declaration
Public Overridable Sub Write ( _
    value As Single _
)
public virtual void Write(
    float value
)
public:
virtual void Write(
    float value
)
abstract Write : 
        value:float32 -> unit 
override Write : 
        value:float32 -> unit 
public function Write(
    value : float
)

Parameters

Remarks

The text representation of the specified value is produced by calling the Single..::..ToString method. The TextWriter.FormatProvider property, if not null Nothing nullptr unit a null reference (Nothing in Visual Basic) , specifies the culture-specific formatting.

.NET Framework Security

See Also

Reference

TextWriter Class

Write Overload

System.IO Namespace