Redigera

Dela via


HttpWriter.WriteString(String, Int32, Int32) Method

Definition

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

public:
 void WriteString(System::String ^ s, int index, int count);
public void WriteString (string s, int index, int count);
member this.WriteString : string * int * int -> unit
Public Sub WriteString (s As String, index As Integer, count As Integer)

Parameters

s
String

The string to send to the HTTP output stream.

index
Int32

The character position of the first byte to send.

count
Int32

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

Exceptions

The index is less than zero.

-or-

The count is less than zero.

-or-

The sum of the index and the count are greater than the string length.

Applies to