IndentedTextWriter.Write Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Escreve a cadeia especificada no fluxo de texto.
Sobrecargas
| Name | Description |
|---|---|
| Write(String, Object, Object) |
Escreve uma cadeia formatada, usando a mesma semântica especificada. |
| Write(Char[], Int32, Int32) |
Escreve um subarray de caracteres no fluxo de texto. |
| Write(String, ReadOnlySpan<Object>) |
Escreve uma cadeia formatada, usando a mesma semântica especificada. |
| Write(String, Object[]) |
Escreve uma cadeia formatada, usando a mesma semântica especificada. |
| Write(String, Object) |
Escreve uma cadeia formatada, usando a mesma semântica especificada. |
| Write(String) |
Escreve a cadeia especificada no fluxo de texto. |
| Write(Single) |
Escreve a representação de texto de um Single no fluxo de texto. |
| Write(Boolean) |
Escreve a representação textual de um valor booleano no fluxo de texto. |
| Write(Int64) |
Escreve a representação textual de um inteiro de 8 bytes no fluxo de texto. |
| Write(Int32) |
Escreve a representação textual de um inteiro no fluxo de texto. |
| Write(Double) |
Escreve a representação textual de um Double no fluxo de texto. |
| Write(Char[]) |
Escreve um array de caracteres no fluxo de texto. |
| Write(Char) |
Escreve um carácter no fluxo de texto. |
| Write(Object) |
Escreve a representação textual de um objeto no fluxo de texto. |
Write(String, Object, Object)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve uma cadeia formatada, usando a mesma semântica especificada.
public:
override void Write(System::String ^ format, System::Object ^ arg0, System::Object ^ arg1);
public override void Write(string format, object? arg0, object? arg1);
public override void Write(string format, object arg0, object arg1);
override this.Write : string * obj * obj -> unit
Public Overrides Sub Write (format As String, arg0 As Object, arg1 As Object)
Parâmetros
- format
- String
A cadeia de formatação a usar.
- arg0
- Object
O primeiro objeto a escrever na string formatada.
- arg1
- Object
O segundo objeto a escrever na string formatada.
Aplica-se a
Write(Char[], Int32, Int32)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve um subarray de caracteres no fluxo de texto.
public:
override void Write(cli::array <char> ^ buffer, int index, int count);
public override void Write(char[] buffer, int index, int count);
override this.Write : char[] * int * int -> unit
Public Overrides Sub Write (buffer As Char(), index As Integer, count As Integer)
Parâmetros
- buffer
- Char[]
O array de caracteres para escrever dados.
- index
- Int32
Índice inicial no buffer.
- count
- Int32
O número de caracteres a escrever.
Aplica-se a
Write(String, ReadOnlySpan<Object>)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve uma cadeia formatada, usando a mesma semântica especificada.
public:
override void Write(System::String ^ format, ReadOnlySpan<System::Object ^> arg);
public override void Write(string format, scoped ReadOnlySpan<object?> arg);
override this.Write : string * ReadOnlySpan<obj> -> unit
Public Overrides Sub Write (format As String, arg As ReadOnlySpan(Of Object))
Parâmetros
- format
- String
A cadeia de formatação a usar.
- arg
- ReadOnlySpan<Object>
O argumento abrange até à saída.
Aplica-se a
Write(String, Object[])
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve uma cadeia formatada, usando a mesma semântica especificada.
public:
override void Write(System::String ^ format, ... cli::array <System::Object ^> ^ arg);
public override void Write(string format, params object?[] arg);
public override void Write(string format, params object[] arg);
override this.Write : string * obj[] -> unit
Public Overrides Sub Write (format As String, ParamArray arg As Object())
Parâmetros
- format
- String
A cadeia de formatação a usar.
- arg
- Object[]
O array de argumentos para a saída.
Aplica-se a
Write(String, Object)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve uma cadeia formatada, usando a mesma semântica especificada.
public:
override void Write(System::String ^ format, System::Object ^ arg0);
public override void Write(string format, object? arg0);
public override void Write(string format, object arg0);
override this.Write : string * obj -> unit
Public Overrides Sub Write (format As String, arg0 As Object)
Parâmetros
- format
- String
A cadeia de formatação.
- arg0
- Object
O objeto a escrever na cadeia formatada.
Aplica-se a
Write(String)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a cadeia especificada no fluxo de texto.
public:
override void Write(System::String ^ s);
public override void Write(string? s);
public override void Write(string s);
override this.Write : string -> unit
Public Overrides Sub Write (s As String)
Parâmetros
- s
- String
A sequência para escrever.
Aplica-se a
Write(Single)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a representação de texto de um Single no fluxo de texto.
public:
override void Write(float value);
public override void Write(float value);
override this.Write : single -> unit
Public Overrides Sub Write (value As Single)
Parâmetros
- value
- Single
O single para escrever.
Aplica-se a
Write(Boolean)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a representação textual de um valor booleano no fluxo de texto.
public:
override void Write(bool value);
public override void Write(bool value);
override this.Write : bool -> unit
Public Overrides Sub Write (value As Boolean)
Parâmetros
- value
- Boolean
O valor booleano a escrever.
Aplica-se a
Write(Int64)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a representação textual de um inteiro de 8 bytes no fluxo de texto.
public:
override void Write(long value);
public override void Write(long value);
override this.Write : int64 -> unit
Public Overrides Sub Write (value As Long)
Parâmetros
- value
- Int64
O inteiro de 8 bytes a escrever.
Aplica-se a
Write(Int32)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a representação textual de um inteiro no fluxo de texto.
public:
override void Write(int value);
public override void Write(int value);
override this.Write : int -> unit
Public Overrides Sub Write (value As Integer)
Parâmetros
- value
- Int32
O inteiro a escrever.
Aplica-se a
Write(Double)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a representação textual de um Double no fluxo de texto.
public:
override void Write(double value);
public override void Write(double value);
override this.Write : double -> unit
Public Overrides Sub Write (value As Double)
Parâmetros
- value
- Double
O double para escrever.
Aplica-se a
Write(Char[])
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve um array de caracteres no fluxo de texto.
public:
override void Write(cli::array <char> ^ buffer);
public override void Write(char[]? buffer);
public override void Write(char[] buffer);
override this.Write : char[] -> unit
Public Overrides Sub Write (buffer As Char())
Parâmetros
- buffer
- Char[]
O array de caracteres para escrever.
Aplica-se a
Write(Char)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve um carácter no fluxo de texto.
public:
override void Write(char value);
public override void Write(char value);
override this.Write : char -> unit
Public Overrides Sub Write (value As Char)
Parâmetros
- value
- Char
A personagem a escrever.
Aplica-se a
Write(Object)
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
- Origem:
- IndentedTextWriter.cs
Escreve a representação textual de um objeto no fluxo de texto.
public:
override void Write(System::Object ^ value);
public override void Write(object? value);
public override void Write(object value);
override this.Write : obj -> unit
Public Overrides Sub Write (value As Object)
Parâmetros
- value
- Object
O objeto a escrever.