IndentedTextWriter.WriteLine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteLine(Char[], Int32, Int32) |
Writes a subarray of characters, followed by a line terminator, to the text stream. |
WriteLine(String) |
Writes the specified string, followed by a line terminator, to the text stream. |
WriteLine(String, Object[]) |
Writes out a formatted string, followed by a line terminator, using the same semantics as specified. |
WriteLine(String, Object) |
Writes out a formatted string, followed by a line terminator, using the same semantics as specified. |
WriteLine(UInt32) |
Writes the text representation of a UInt32, followed by a line terminator, to the text stream. |
WriteLine(Single) |
Writes the text representation of a Single, followed by a line terminator, to the text stream. |
WriteLine(Object) |
Writes the text representation of an object, followed by a line terminator, to the text stream. |
WriteLine(Double) |
Writes the text representation of a Double, followed by a line terminator, to the text stream. |
WriteLine(Int32) |
Writes the text representation of an integer, followed by a line terminator, to the text stream. |
WriteLine(Char[]) |
Writes a character array, followed by a line terminator, to the text stream. |
WriteLine(Char) |
Writes a character, followed by a line terminator, to the text stream. |
WriteLine(Boolean) |
Writes the text representation of a Boolean, followed by a line terminator, to the text stream. |
WriteLine() |
Writes a line terminator. |
WriteLine(String, Object, Object) |
Writes out a formatted string, followed by a line terminator, using the same semantics as specified. |
WriteLine(Int64) |
Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. |
WriteLine(Char[], Int32, Int32)
Writes a subarray of characters, followed by a line terminator, to the text stream.
public override void WriteLine (char[] buffer, int index, int count);
override this.WriteLine : char[] * int * int -> unit
Public Overrides Sub WriteLine (buffer As Char(), index As Integer, count As Integer)
Parameters
- buffer
- Char[]
The character array to write data from.
- index
- Int32
Starting index in the buffer.
- count
- Int32
The number of characters to write.
Applies to
WriteLine(String)
Writes the specified string, followed by a line terminator, to the text stream.
public override void WriteLine (string s);
public override void WriteLine (string value);
override this.WriteLine : string -> unit
override this.WriteLine : string -> unit
Public Overrides Sub WriteLine (s As String)
Public Overrides Sub WriteLine (value As String)
Parameters
- svalue
- String
The string to write.
Applies to
WriteLine(String, Object[])
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
public override void WriteLine (string format, params object[] arg);
override this.WriteLine : string * obj[] -> unit
Public Overrides Sub WriteLine (format As String, ParamArray arg As Object())
Parameters
- format
- String
The formatting string to use.
- arg
- Object[]
The argument array to output.
Applies to
WriteLine(String, Object)
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
public override void WriteLine (string format, object arg0);
override this.WriteLine : string * obj -> unit
Public Overrides Sub WriteLine (format As String, arg0 As Object)
Parameters
- format
- String
The formatting string.
- arg0
- Object
The object to write into the formatted string.
Applies to
WriteLine(UInt32)
Important
This API is not CLS-compliant.
Writes the text representation of a UInt32, followed by a line terminator, to the text stream.
[System.CLSCompliant(false)]
public override void WriteLine (uint value);
override this.WriteLine : uint32 -> unit
Public Overrides Sub WriteLine (value As UInteger)
Parameters
- value
- UInt32
A UInt32 to output.
- Attributes
Applies to
WriteLine(Single)
Writes the text representation of a Single, followed by a line terminator, to the text stream.
public override void WriteLine (float value);
override this.WriteLine : single -> unit
Public Overrides Sub WriteLine (value As Single)
Parameters
- value
- Single
The single to write.
Applies to
WriteLine(Object)
Writes the text representation of an object, followed by a line terminator, to the text stream.
public override void WriteLine (object value);
override this.WriteLine : obj -> unit
Public Overrides Sub WriteLine (value As Object)
Parameters
- value
- Object
The object to write.
Applies to
WriteLine(Double)
Writes the text representation of a Double, followed by a line terminator, to the text stream.
public override void WriteLine (double value);
override this.WriteLine : double -> unit
Public Overrides Sub WriteLine (value As Double)
Parameters
- value
- Double
The double to write.
Applies to
WriteLine(Int32)
Writes the text representation of an integer, followed by a line terminator, to the text stream.
public override void WriteLine (int value);
override this.WriteLine : int -> unit
Public Overrides Sub WriteLine (value As Integer)
Parameters
- value
- Int32
The integer to write.
Applies to
WriteLine(Char[])
Writes a character array, followed by a line terminator, to the text stream.
public override void WriteLine (char[] buffer);
override this.WriteLine : char[] -> unit
Public Overrides Sub WriteLine (buffer As Char())
Parameters
- buffer
- Char[]
The character array to write.
Applies to
WriteLine(Char)
Writes a character, followed by a line terminator, to the text stream.
public override void WriteLine (char value);
override this.WriteLine : char -> unit
Public Overrides Sub WriteLine (value As Char)
Parameters
- value
- Char
The character to write.
Applies to
WriteLine(Boolean)
Writes the text representation of a Boolean, followed by a line terminator, to the text stream.
public override void WriteLine (bool value);
override this.WriteLine : bool -> unit
Public Overrides Sub WriteLine (value As Boolean)
Parameters
- value
- Boolean
The Boolean to write.
Applies to
WriteLine()
Writes a line terminator.
public override void WriteLine ();
override this.WriteLine : unit -> unit
Public Overrides Sub WriteLine ()
Applies to
WriteLine(String, Object, Object)
Writes out a formatted string, followed by a line terminator, using the same semantics as specified.
public override void WriteLine (string format, object arg0, object arg1);
override this.WriteLine : string * obj * obj -> unit
Public Overrides Sub WriteLine (format As String, arg0 As Object, arg1 As Object)
Parameters
- format
- String
The formatting string to use.
- arg0
- Object
The first object to write into the formatted string.
- arg1
- Object
The second object to write into the formatted string.
Applies to
WriteLine(Int64)
Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream.
public override void WriteLine (long value);
override this.WriteLine : int64 -> unit
Public Overrides Sub WriteLine (value As Long)
Parameters
- value
- Int64
The 8-byte integer to write.
Applies to
Entity Framework