Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 an object by calling the ToString method on that object, 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 Object _
)
public virtual void WriteLine(
Object value
)
public:
virtual void WriteLine(
Object^ value
)
abstract WriteLine :
value:Object -> unit
override WriteLine :
value:Object -> unit
public function WriteLine(
value : Object
)
Parameters
- value
Type: System. . :: . .Object
The object to write. If value is nullNothingnullptrunita null reference (Nothing in Visual Basic), only the line terminator is written.
Remarks
This overload is equivalent to the Write(String, Object) overload. The FormatProvider property, if not null Nothing nullptr unit a null reference (Nothing in Visual Basic) , specifies the culture-specific formatting.
The line terminator is defined by the CoreNewLine field.
.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.