Düzenle

Aracılığıyla paylaş


HttpResponseWrapper.Write Method

Definition

Writes information to the HTTP response output stream.

Overloads

Write(Char)

Writes a character to an HTTP response output stream.

Write(Object)

Writes the specified object to the HTTP response stream.

Write(String)

Writes the specified string to the HTTP response output stream.

Write(Char[], Int32, Int32)

Writes the specified array of characters to the HTTP response output stream.

Write(Char)

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)

Parameters

ch
Char

The character to write to the HTTP output stream.

Applies to

Write(Object)

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)

Parameters

obj
Object

The object to write to the HTTP output stream.

Applies to

Write(String)

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)

Parameters

s
String

The string to write to the HTTP output stream.

Applies to

Write(Char[], Int32, Int32)

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)

Parameters

buffer
Char[]

The character array to write.

index
Int32

The position in the character array where writing starts.

count
Int32

The number of characters to write, starting at index.

Applies to