Share via


WriteLine 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 followed by a line terminator to the text string or stream.

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

Syntax

'Declaration
Public Overridable Sub WriteLine ( _
    value As Boolean _
)
public virtual void WriteLine(
    bool value
)
public:
virtual void WriteLine(
    bool value
)
abstract WriteLine : 
        value:bool -> unit 
override WriteLine : 
        value:bool -> unit 
public function WriteLine(
    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.

The line terminator is defined by the CoreNewLine field.

.NET Framework Security

See Also

Reference

TextWriter Class

WriteLine Overload

System.IO Namespace