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
- value
Type: System. . :: . .Single
The 4-byte floating-point value to write.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.