Share via


IndentedTextWriter.WriteLine Método

Definição

Grava a cadeia de caracteres especificada seguida por um terminador de linha no fluxo de texto.

Sobrecargas

WriteLine(String, Object, Object)

Grava uma cadeia de caracteres formatada seguida por um terminador de linha usando a mesma semântica especificada.

WriteLine(Char[], Int32, Int32)

Grava uma submatriz de caracteres seguida por um terminador de linha no fluxo de texto.

WriteLine(String, Object[])

Grava uma cadeia de caracteres formatada seguida por um terminador de linha usando a mesma semântica especificada.

WriteLine(String, Object)

Grava uma cadeia de caracteres formatada seguida por um terminador de linha usando a mesma semântica especificada.

WriteLine(String)

Grava a cadeia de caracteres especificada seguida por um terminador de linha no fluxo de texto.

WriteLine(Single)

Grava a representação de texto de um Single seguido por um terminador de linha no fluxo de texto.

WriteLine(Object)

Grava a representação de texto de um objeto seguido por um terminador de linha no fluxo de texto.

WriteLine(UInt32)

Grava a representação de texto de um UInt32 seguido por um terminador de linha no fluxo de texto.

WriteLine(Int32)

Grava a representação de texto de um inteiro seguido por um terminador de linha no fluxo de texto.

WriteLine(Double)

Grava a representação de texto de um Double seguido por um terminador de linha no fluxo de texto.

WriteLine(Char[])

Grava uma matriz de caracteres seguida por um terminador de linha no fluxo de texto.

WriteLine(Char)

Grava um caractere seguido por um terminador de linha no fluxo de texto.

WriteLine(Boolean)

Grava a representação de texto de um booliano seguido por um terminador de linha no fluxo de texto.

WriteLine()

Grava um terminador de linha.

WriteLine(Int64)

Grava a representação de texto de um inteiro de 8 bytes seguido por um terminador de linha no fluxo de texto.

WriteLine(String, Object, Object)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava uma cadeia de caracteres formatada seguida por um terminador de linha usando a mesma semântica especificada.

public:
 override void WriteLine(System::String ^ format, System::Object ^ arg0, System::Object ^ arg1);
public override void WriteLine (string format, object? arg0, object? arg1);
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)

Parâmetros

format
String

A cadeia de caracteres de formatação a ser usada.

arg0
Object

O primeiro objeto a ser gravado na cadeia de caracteres formatada.

arg1
Object

O segundo objeto a ser gravado na cadeia de caracteres formatada.

Aplica-se a

WriteLine(Char[], Int32, Int32)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava uma submatriz de caracteres seguida por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(cli::array <char> ^ buffer, int index, int count);
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)

Parâmetros

buffer
Char[]

A matriz de caracteres da qual os dados serão gravados.

index
Int32

O índice inicial no buffer.

count
Int32

O número de caracteres a serem gravados.

Aplica-se a

WriteLine(String, Object[])

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava uma cadeia de caracteres formatada seguida por um terminador de linha usando a mesma semântica especificada.

public:
 override void WriteLine(System::String ^ format, ... cli::array <System::Object ^> ^ arg);
public override void WriteLine (string format, params object?[] arg);
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())

Parâmetros

format
String

A cadeia de caracteres de formatação a ser usada.

arg
Object[]

A matriz de argumentos a ser gerada.

Aplica-se a

WriteLine(String, Object)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava uma cadeia de caracteres formatada seguida por um terminador de linha usando a mesma semântica especificada.

public:
 override void WriteLine(System::String ^ format, System::Object ^ arg0);
public override void WriteLine (string format, object? arg0);
public override void WriteLine (string format, object arg0);
override this.WriteLine : string * obj -> unit
Public Overrides Sub WriteLine (format As String, arg0 As Object)

Parâmetros

format
String

A cadeia de caracteres de formatação.

arg0
Object

O objeto a ser gravado na cadeia de caracteres formatada.

Aplica-se a

WriteLine(String)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a cadeia de caracteres especificada seguida por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(System::String ^ s);
public override void WriteLine (string? s);
public override void WriteLine (string s);
override this.WriteLine : string -> unit
Public Overrides Sub WriteLine (s As String)

Parâmetros

s
String

A cadeia de caracteres a ser gravada.

Aplica-se a

WriteLine(Single)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a representação de texto de um Single seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(float value);
public override void WriteLine (float value);
override this.WriteLine : single -> unit
Public Overrides Sub WriteLine (value As Single)

Parâmetros

value
Single

O single a gravar.

Aplica-se a

WriteLine(Object)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a representação de texto de um objeto seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(System::Object ^ value);
public override void WriteLine (object? value);
public override void WriteLine (object value);
override this.WriteLine : obj -> unit
Public Overrides Sub WriteLine (value As Object)

Parâmetros

value
Object

O objeto a ser gravado.

Aplica-se a

WriteLine(UInt32)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Importante

Esta API não está em conformidade com CLS.

Grava a representação de texto de um UInt32 seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(System::UInt32 value);
[System.CLSCompliant(false)]
public override void WriteLine (uint value);
[<System.CLSCompliant(false)>]
override this.WriteLine : uint32 -> unit
Public Overrides Sub WriteLine (value As UInteger)

Parâmetros

value
UInt32

Um UInt32 a ser gerado.

Atributos

Aplica-se a

WriteLine(Int32)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a representação de texto de um inteiro seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(int value);
public override void WriteLine (int value);
override this.WriteLine : int -> unit
Public Overrides Sub WriteLine (value As Integer)

Parâmetros

value
Int32

O inteiro a ser gravado.

Aplica-se a

WriteLine(Double)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a representação de texto de um Double seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(double value);
public override void WriteLine (double value);
override this.WriteLine : double -> unit
Public Overrides Sub WriteLine (value As Double)

Parâmetros

value
Double

O double a gravar.

Aplica-se a

WriteLine(Char[])

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava uma matriz de caracteres seguida por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(cli::array <char> ^ buffer);
public override void WriteLine (char[]? buffer);
public override void WriteLine (char[] buffer);
override this.WriteLine : char[] -> unit
Public Overrides Sub WriteLine (buffer As Char())

Parâmetros

buffer
Char[]

A matriz de caracteres a ser gravada.

Aplica-se a

WriteLine(Char)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava um caractere seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(char value);
public override void WriteLine (char value);
override this.WriteLine : char -> unit
Public Overrides Sub WriteLine (value As Char)

Parâmetros

value
Char

O caractere a se gravar.

Aplica-se a

WriteLine(Boolean)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a representação de texto de um booliano seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(bool value);
public override void WriteLine (bool value);
override this.WriteLine : bool -> unit
Public Overrides Sub WriteLine (value As Boolean)

Parâmetros

value
Boolean

O booliano a ser gravado.

Aplica-se a

WriteLine()

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava um terminador de linha.

public:
 override void WriteLine();
public override void WriteLine ();
override this.WriteLine : unit -> unit
Public Overrides Sub WriteLine ()

Aplica-se a

WriteLine(Int64)

Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs
Origem:
IndentedTextWriter.cs

Grava a representação de texto de um inteiro de 8 bytes seguido por um terminador de linha no fluxo de texto.

public:
 override void WriteLine(long value);
public override void WriteLine (long value);
override this.WriteLine : int64 -> unit
Public Overrides Sub WriteLine (value As Long)

Parâmetros

value
Int64

O inteiro de 8 bytes a ser gravado.

Aplica-se a