HttpResponseWrapper.Write 方法

定義

將資訊寫入 HTTP 回應輸出資料流。Writes information to the HTTP response output stream.

多載

Write(Char)

將字元寫入 HTTP 回應輸出資料流。Writes a character to an HTTP response output stream.

Write(Object)

將指定的物件寫入 HTTP 回應資料流。Writes the specified object to the HTTP response stream.

Write(String)

將指定的字串寫入 HTTP 回應輸出資料流。Writes the specified string to the HTTP response output stream.

Write(Char[], Int32, Int32)

將指定的字元陣列寫入 HTTP 回應輸出資料流。Writes the specified array of characters to the HTTP response output stream.

Write(Char)

將字元寫入 HTTP 回應輸出資料流。Writes a character to an HTTP response output stream.

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

參數

ch
Char

要傳送至 HTTP 輸出資料流的字元。The character to write to the HTTP output stream.

適用於

Write(Object)

將指定的物件寫入 HTTP 回應資料流。Writes the specified object to the HTTP response stream.

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

參數

obj
Object

要寫入 HTTP 輸出資料流的物件。The object to write to the HTTP output stream.

適用於

Write(String)

將指定的字串寫入 HTTP 回應輸出資料流。Writes the specified string to the HTTP response output stream.

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

參數

s
String

要寫入 HTTP 輸出資料流的字串。The string to write to the HTTP output stream.

適用於

Write(Char[], Int32, Int32)

將指定的字元陣列寫入 HTTP 回應輸出資料流。Writes the specified array of characters to the HTTP response output stream.

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)

參數

buffer
Char[]

要寫入的字元陣列。The character array to write.

index
Int32

開始寫入之字元陣列中的位置。The position in the character array where writing starts.

count
Int32

要寫入的字元數,從 index 開始。The number of characters to write, starting at index.

適用於