Share via


WriteLine Method (String)

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

Writes a string followed by a line terminator to the text stream.

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

Syntax

'Declaration
Public Overrides Sub WriteLine ( _
    value As String _
)
public override void WriteLine(
    string value
)
public:
virtual void WriteLine(
    String^ value
) override
abstract WriteLine : 
        value:string -> unit 
override WriteLine : 
        value:string -> unit 
public override function WriteLine(
    value : String
)

Parameters

  • value
    Type: System. . :: . .String
    The string to write. If value is a nullNothingnullptrunita null reference (Nothing in Visual Basic) reference, only the line termination characters are written.

.NET Framework Security

See Also

Reference

StreamWriter Class

WriteLine Overload

System.IO Namespace