HttpResponseBase.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 informação no fluxo de saída de resposta HTTP.
Sobrecargas
| Name | Description |
|---|---|
| Write(Char) |
Escreve um carácter num fluxo de saída de resposta HTTP. |
| Write(Object) |
Escreve o objeto especificado no fluxo de resposta HTTP. |
| Write(String) |
Escreve a string especificada no fluxo de saída de resposta HTTP. |
| Write(Char[], Int32, Int32) |
Escreve o array especificado de caracteres no fluxo de resposta HTTP de saída. |
Write(Char)
Escreve um carácter num fluxo de saída de resposta HTTP.
public:
virtual void Write(char ch);
public virtual void Write(char ch);
abstract member Write : char -> unit
override this.Write : char -> unit
Public Overridable Sub Write (ch As Char)
Parâmetros
- ch
- Char
O carácter a escrever no fluxo de saída HTTP.
Exceções
Sempre.
Aplica-se a
Write(Object)
Escreve o objeto especificado no fluxo de resposta HTTP.
public:
virtual void Write(System::Object ^ obj);
public virtual void Write(object obj);
abstract member Write : obj -> unit
override this.Write : obj -> unit
Public Overridable Sub Write (obj As Object)
Parâmetros
- obj
- Object
O objeto a escrever no fluxo de saída HTTP.
Exceções
Sempre.
Aplica-se a
Write(String)
Escreve a string especificada no fluxo de saída de resposta HTTP.
public:
virtual void Write(System::String ^ s);
public virtual void Write(string s);
abstract member Write : string -> unit
override this.Write : string -> unit
Public Overridable Sub Write (s As String)
Parâmetros
- s
- String
A cadeia a escrever no fluxo de saída HTTP.
Exceções
Sempre.
Aplica-se a
Write(Char[], Int32, Int32)
Escreve o array especificado de caracteres no fluxo de resposta HTTP de saída.
public:
virtual void Write(cli::array <char> ^ buffer, int index, int count);
public virtual void Write(char[] buffer, int index, int count);
abstract member Write : char[] * int * int -> unit
override this.Write : char[] * int * int -> unit
Public Overridable Sub Write (buffer As Char(), index As Integer, count As Integer)
Parâmetros
- buffer
- Char[]
O array de caracteres para escrever.
- index
- Int32
A posição no array de caracteres onde começa a escrita.
- count
- Int32
O número de caracteres a escrever, começando em index.
Exceções
Sempre.