HttpResponseStreamWriter.Write 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Write(Char[], Int32, Int32) | |
Write(String) | |
Write(ReadOnlySpan<Char>) | |
Write(Char) |
Write(Char[], Int32, Int32)
將字元的子陣列寫入至文字資料流。
public:
override void Write(cli::array <char> ^ values, int index, int count);
public override void Write (char[] values, int index, int count);
override this.Write : char[] * int * int -> unit
Public Overrides Sub Write (values As Char(), index As Integer, count As Integer)
參數
- values
- Char[]
- index
- Int32
- count
- Int32
適用於
Write(String)
將字串寫入到文字資料流。
public:
override void Write(System::String ^ value);
public override void Write (string value);
public override void Write (string? value);
override this.Write : string -> unit
Public Overrides Sub Write (value As String)
參數
- value
- String
適用於
Write(ReadOnlySpan<Char>)
將字元範圍寫入文字資料流。
public:
override void Write(ReadOnlySpan<char> value);
public override void Write (ReadOnlySpan<char> value);
override this.Write : ReadOnlySpan<char> -> unit
Public Overrides Sub Write (value As ReadOnlySpan(Of Char))
參數
- value
- ReadOnlySpan<Char>
適用於
Write(Char)
將字元寫入文字資料流。
public:
override void Write(char value);
public override void Write (char value);
override this.Write : char -> unit
Public Overrides Sub Write (value As Char)
參數
- value
- Char