HttpWriter.WriteString(String, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET