Muokkaa

Jaa


HttpWriter.Write Method

Definition

Sends HTTP output to the client.

Overloads

Write(Char)

Sends a single character to the HTTP output stream.

Write(Object)

Sends an Object to the HTTP output stream.

Write(String)

Sends a string to the HTTP output stream.

Write(Char[], Int32, Int32)

Sends a stream of characters with the specified starting position and number of characters to the HTTP output stream.

Write(Char)

Sends a single character to the HTTP 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 send to the HTTP output stream.

See also

Applies to

Write(Object)

Sends an Object to the HTTP output 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 send to the HTTP output stream.

Applies to

Write(String)

Sends a string to the HTTP 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 send to the HTTP output stream.

See also

Applies to

Write(Char[], Int32, Int32)

Sends a stream of characters with the specified starting position and number of characters to the HTTP 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 memory buffer containing the characters to send to the HTTP output stream.

index
Int32

The buffer position of the first character to send.

count
Int32

The number of characters to send beginning at the position specified by index.

Exceptions

buffer, is null.

-or-

index is less than zero.

-or-

count is less than zero.

-or-

buffer length minus index is less than count.

See also

Applies to