Share via


Write Method (Boolean)

[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 Boolean 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 Boolean _
)
public virtual void Write(
    bool value
)
public:
virtual void Write(
    bool value
)
abstract Write : 
        value:bool -> unit 
override Write : 
        value:bool -> unit 
public function Write(
    value : boolean
)

Parameters

Remarks

The text representation of the specified value is produced by calling the Boolean..::..ToString method.

This method outputs either Boolean..::..TrueString or Boolean..::..FalseString.

.NET Framework Security

See Also

Reference

TextWriter Class

Write Overload

System.IO Namespace