1<?xml version="1.0" encoding="utf-8"?> 2<doc> 3 <assembly> 4 <name>System.IO</name> 5 </assembly> 6 <members> 7 <member name="T:System.IO.BinaryReader"> 8 <summary>以特定的編碼方式,將基本資料型別當做二進位值讀取。</summary> 9 <filterpriority>2</filterpriority> 10 </member> 11 <member name="M:System.IO.BinaryReader.#ctor(System.IO.Stream)"> 12 <summary>根據指定的資料流並使用 UTF-8 編碼方式,初始化 <see cref="T:System.IO.BinaryReader" /> 類別的新執行個體。</summary> 13 <param name="input">輸入資料流。</param> 14 <exception cref="T:System.ArgumentException">資料流不支援讀取,為 null,或已經關閉。</exception> 15 </member> 16 <member name="M:System.IO.BinaryReader.#ctor(System.IO.Stream,System.Text.Encoding)"> 17 <summary>根據指定的資料流和字元編碼,初始化 <see cref="T:System.IO.BinaryReader" /> 類別的新執行個體。</summary> 18 <param name="input">輸入資料流。</param> 19 <param name="encoding">要使用的字元編碼。</param> 20 <exception cref="T:System.ArgumentException">資料流不支援讀取,為 null,或已經關閉。</exception> 21 <exception cref="T:System.ArgumentNullException"> 22 <paramref name="encoding" /> 為 null。</exception> 23 </member> 24 <member name="M:System.IO.BinaryReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean)"> 25 <summary>根據指定的資料流和特定的字元編碼,初始化 <see cref="T:System.IO.BinaryReader" /> 類別的新執行個體,並選擇性地保留資料流開啟狀態。</summary> 26 <param name="input">輸入資料流。</param> 27 <param name="encoding">要使用的字元編碼。</param> 28 <param name="leaveOpen">true 表示在處置 <see cref="T:System.IO.BinaryReader" /> 物件之後,將資料流保持開啟;否則為 false。</param> 29 <exception cref="T:System.ArgumentException">資料流不支援讀取,為 null,或已經關閉。</exception> 30 <exception cref="T:System.ArgumentNullException"> 31 <paramref name="encoding" /> 或 <paramref name="input" /> 為 null。</exception> 32 </member> 33 <member name="P:System.IO.BinaryReader.BaseStream"> 34 <summary>公開 <see cref="T:System.IO.BinaryReader" /> 之基礎資料流的存取。</summary> 35 <returns>與 BinaryReader 相關聯的基礎資料流。</returns> 36 <filterpriority>2</filterpriority> 37 </member> 38 <member name="M:System.IO.BinaryReader.Dispose"> 39 <summary>將 <see cref="T:System.IO.BinaryReader" /> 類別目前的執行個體所使用的資源全部釋出。</summary> 40 </member> 41 <member name="M:System.IO.BinaryReader.Dispose(System.Boolean)"> 42 <summary>釋放 <see cref="T:System.IO.BinaryReader" /> 類別所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。</summary> 43 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 44 </member> 45 <member name="M:System.IO.BinaryReader.FillBuffer(System.Int32)"> 46 <summary>將從資料流讀取的指定位元組數目填入內部緩衝區。</summary> 47 <param name="numBytes">要讀取的位元組數。</param> 48 <exception cref="T:System.IO.EndOfStreamException">在 <paramref name="numBytes" /> 可讀取之前到達資料流末端。</exception> 49 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 50 <exception cref="T:System.ArgumentOutOfRangeException">所要求的 <paramref name="numBytes" /> 大於內部緩衝區大小。</exception> 51 </member> 52 <member name="M:System.IO.BinaryReader.PeekChar"> 53 <summary>傳回下一個可用字元,而不前移位元組或字元的位置。</summary> 54 <returns>下一個可用的字元;如果沒有更多字元可供使用或資料流不支援搜尋,則為 -1。</returns> 55 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 56 <exception cref="T:System.ArgumentException">無法使用針對資料流選取的 <see cref="T:System.Text.Encoding" /> 將目前的字元解碼到內部字元緩衝區。</exception> 57 <filterpriority>2</filterpriority> 58 </member> 59 <member name="M:System.IO.BinaryReader.Read"> 60 <summary>按照所使用的 Encoding 和從資料流讀取的特定字元,自基礎資料流讀取字元,並將資料流中目前的位置往前移。</summary> 61 <returns>輸入資料流的下一個字元;如果目前沒有字元可供使用,則為 -1。</returns> 62 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 63 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 64 <filterpriority>2</filterpriority> 65 </member> 66 <member name="M:System.IO.BinaryReader.Read(System.Byte[],System.Int32,System.Int32)"> 67 <summary>由位元組陣列中指定點開始,讀取資料流中的指定位元組數。</summary> 68 <returns>要讀入 <paramref name="buffer" /> 的位元組數。如果沒有足夠的位元組數,這可能會小於要求的位元組數;如果已到達資料流末端,則可能為零。</returns> 69 <param name="buffer">要讀取資料的緩衝區。</param> 70 <param name="index">開始讀取資料到緩衝區的緩衝區起始點。</param> 71 <param name="count">要讀取的位元組數。</param> 72 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。-或-欲讀取的解碼字元數大於 <paramref name="count" />。如果 Unicode 解碼器傳回後援字元或 Surrogate 組,就會發生這個情況。</exception> 73 <exception cref="T:System.ArgumentNullException"> 74 <paramref name="buffer" /> 為 null。</exception> 75 <exception cref="T:System.ArgumentOutOfRangeException"> 76 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 77 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 78 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 79 <filterpriority>2</filterpriority> 80 </member> 81 <member name="M:System.IO.BinaryReader.Read(System.Char[],System.Int32,System.Int32)"> 82 <summary>由字元陣列中的指定點開始,從資料流讀取指定字元數。</summary> 83 <returns>讀入緩衝區的字元總數。如果目前沒有足夠的位元組數,這可能會小於要求的位元組數;如果已到達資料流末端,則可能為零。</returns> 84 <param name="buffer">要讀取資料的緩衝區。</param> 85 <param name="index">開始讀取資料到緩衝區的緩衝區起始點。</param> 86 <param name="count">要讀取的字元數。</param> 87 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。-或-欲讀取的解碼字元數大於 <paramref name="count" />。如果 Unicode 解碼器傳回後援字元或 Surrogate 組,就會發生這個情況。</exception> 88 <exception cref="T:System.ArgumentNullException"> 89 <paramref name="buffer" /> 為 null。</exception> 90 <exception cref="T:System.ArgumentOutOfRangeException"> 91 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 92 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 93 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 94 <filterpriority>2</filterpriority> 95 </member> 96 <member name="M:System.IO.BinaryReader.Read7BitEncodedInt"> 97 <summary>以壓縮格式讀取 32 位元整數。</summary> 98 <returns>壓縮格式的 32 位元整數。</returns> 99 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 100 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 101 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 102 <exception cref="T:System.FormatException">資料流已損毀。</exception> 103 </member> 104 <member name="M:System.IO.BinaryReader.ReadBoolean"> 105 <summary>自目前資料流讀取 Boolean 值,並將資料流中目前的位置往前移一個位元組。</summary> 106 <returns>如果位元組為非零值,則為 true;否則為 false。</returns> 107 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 108 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 109 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 110 <filterpriority>2</filterpriority> 111 </member> 112 <member name="M:System.IO.BinaryReader.ReadByte"> 113 <summary>自目前資料流讀取下一個位元組,並將資料流中目前的位置往前移一個位元組。</summary> 114 <returns>自目前資料流讀取的下一個位元組。</returns> 115 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 116 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 117 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 118 <filterpriority>2</filterpriority> 119 </member> 120 <member name="M:System.IO.BinaryReader.ReadBytes(System.Int32)"> 121 <summary>將目前資料流中的指定位元組數讀入位元組陣列中,並將目前的位置前移該位元組數。</summary> 122 <returns>位元組陣列,含有自基礎資料流讀取的資料。如果已到達資料流末端,這可能會小於要求的位元組數。</returns> 123 <param name="count">要讀取的位元組數。這個值必須是 0 或非負數,否則會發生例外狀況。</param> 124 <exception cref="T:System.ArgumentException">欲讀取的解碼字元數大於 <paramref name="count" />。如果 Unicode 解碼器傳回後援字元或 Surrogate 組,就會發生這個情況。</exception> 125 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 126 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 127 <exception cref="T:System.ArgumentOutOfRangeException"> 128 <paramref name="count" /> 為負值。</exception> 129 <filterpriority>2</filterpriority> 130 </member> 131 <member name="M:System.IO.BinaryReader.ReadChar"> 132 <summary>按照所使用的 Encoding 和從資料流讀取的特定字元,自目前資料流讀取下一個字元,並將資料流中目前的位置往前移。</summary> 133 <returns>自目前資料流讀取的字元。</returns> 134 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 135 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 136 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 137 <exception cref="T:System.ArgumentException">讀取到 Surrogate 字元</exception> 138 <filterpriority>2</filterpriority> 139 </member> 140 <member name="M:System.IO.BinaryReader.ReadChars(System.Int32)"> 141 <summary>讀取目前資料流中的指定字元數,並將資料傳入字元陣列中,然後依據使用的 Encoding 以及正在從資料流中讀取的指定字元,前移目前的位置。</summary> 142 <returns>字元陣列,含有從基礎資料流讀取的資料。如果已到達資料流末端,這可能會小於要求的字元數。</returns> 143 <param name="count">要讀取的字元數。</param> 144 <exception cref="T:System.ArgumentException">欲讀取的解碼字元數大於 <paramref name="count" />。如果 Unicode 解碼器傳回後援字元或 Surrogate 組,就會發生這個情況。</exception> 145 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 146 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 147 <exception cref="T:System.ArgumentOutOfRangeException"> 148 <paramref name="count" /> 為負值。</exception> 149 <filterpriority>2</filterpriority> 150 </member> 151 <member name="M:System.IO.BinaryReader.ReadDecimal"> 152 <summary>自目前資料流讀取十進位值,並將資料流的目前位置前移十六個位元組。</summary> 153 <returns>自目前資料流讀取的十進位值。</returns> 154 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 155 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 156 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 157 <filterpriority>2</filterpriority> 158 </member> 159 <member name="M:System.IO.BinaryReader.ReadDouble"> 160 <summary>自目前資料流讀取 8 位元組浮點數值,並將資料流目前位置前移八個位元組。</summary> 161 <returns>自目前資料流讀取的 8 位元組浮點數值。</returns> 162 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 163 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 164 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 165 <filterpriority>2</filterpriority> 166 </member> 167 <member name="M:System.IO.BinaryReader.ReadInt16"> 168 <summary>自目前資料流讀取 2 位元組帶正負號的整數,並將資料流目前位置前移兩個位元組。</summary> 169 <returns>自目前資料流讀取的 2 位元組帶正負號的整數。</returns> 170 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 171 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 172 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 173 <filterpriority>2</filterpriority> 174 </member> 175 <member name="M:System.IO.BinaryReader.ReadInt32"> 176 <summary>自目前資料流讀取 4 位元組帶正負號的整數,並將資料流目前位置前移四個位元組。</summary> 177 <returns>自目前資料流讀取的 4 位元組帶正負號的整數。</returns> 178 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 179 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 180 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 181 <filterpriority>2</filterpriority> 182 </member> 183 <member name="M:System.IO.BinaryReader.ReadInt64"> 184 <summary>自目前資料流讀取 8 位元組帶正負號的整數,並將資料流目前位置前移八個位元組。</summary> 185 <returns>自目前資料流讀取的 8 位元組帶正負號的整數。</returns> 186 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 187 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 188 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 189 <filterpriority>2</filterpriority> 190 </member> 191 <member name="M:System.IO.BinaryReader.ReadSByte"> 192 <summary>自資料流讀取帶正負號的位元組,並將資料流目前位置前移一個位元組。</summary> 193 <returns>自資料流讀取的帶正負號的位元組。</returns> 194 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 195 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 196 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 197 <filterpriority>2</filterpriority> 198 </member> 199 <member name="M:System.IO.BinaryReader.ReadSingle"> 200 <summary>自目前資料流讀取 4 位元組浮點數值,並將資料流目前位置前移四個位元組。</summary> 201 <returns>自目前資料流讀取的 4 位元組浮點數值。</returns> 202 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 203 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 204 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 205 <filterpriority>2</filterpriority> 206 </member> 207 <member name="M:System.IO.BinaryReader.ReadString"> 208 <summary>自目前資料流讀取字串。字串會以長度為前置字元,每次以七位元編碼為一整數。</summary> 209 <returns>讀取的字串。</returns> 210 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 211 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 212 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 213 <filterpriority>2</filterpriority> 214 </member> 215 <member name="M:System.IO.BinaryReader.ReadUInt16"> 216 <summary>以位元組由小到大的編碼方式自目前資料流讀取 2 位元組不帶正負號的整數,並將資料流目前位置前移兩個位元組。</summary> 217 <returns>自這個資料流讀取 2 位元組不帶正負號的整數。</returns> 218 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 219 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 220 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 221 <filterpriority>2</filterpriority> 222 </member> 223 <member name="M:System.IO.BinaryReader.ReadUInt32"> 224 <summary>自目前資料流讀取 4 位元組不帶正負號的整數,並將資料流目前位置前移四個位元組。</summary> 225 <returns>自這個資料流讀取 4 位元組不帶正負號的整數。</returns> 226 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 227 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 228 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 229 <filterpriority>2</filterpriority> 230 </member> 231 <member name="M:System.IO.BinaryReader.ReadUInt64"> 232 <summary>自目前資料流讀取 8 位元組不帶正負號的整數,並將資料流目前位置前移八個位元組。</summary> 233 <returns>自這個資料流讀取 8 位元組不帶正負號的整數。</returns> 234 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 235 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 236 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 237 <filterpriority>2</filterpriority> 238 </member> 239 <member name="T:System.IO.BinaryWriter"> 240 <summary>以二進位方式將基本型別 (Primitive Type) 寫入資料流,並支援以特定編碼方式寫入字串。</summary> 241 <filterpriority>2</filterpriority> 242 </member> 243 <member name="M:System.IO.BinaryWriter.#ctor"> 244 <summary>初始化 <see cref="T:System.IO.BinaryWriter" /> 類別的新執行個體,其將寫入資料流。</summary> 245 </member> 246 <member name="M:System.IO.BinaryWriter.#ctor(System.IO.Stream)"> 247 <summary>根據指定的資料流並使用 UTF-8 編碼方式,初始化 <see cref="T:System.IO.BinaryWriter" /> 類別的新執行個體。</summary> 248 <param name="output">輸出資料流。</param> 249 <exception cref="T:System.ArgumentException">資料流不支援寫入,或已經關閉。</exception> 250 <exception cref="T:System.ArgumentNullException"> 251 <paramref name="output" /> 為 null。</exception> 252 </member> 253 <member name="M:System.IO.BinaryWriter.#ctor(System.IO.Stream,System.Text.Encoding)"> 254 <summary>根據指定的資料流和字元編碼方式,初始化 <see cref="T:System.IO.BinaryWriter" /> 類別的新執行個體。</summary> 255 <param name="output">輸出資料流。</param> 256 <param name="encoding">要使用的字元編碼。</param> 257 <exception cref="T:System.ArgumentException">資料流不支援寫入,或已經關閉。</exception> 258 <exception cref="T:System.ArgumentNullException"> 259 <paramref name="output" /> 或 <paramref name="encoding" /> 是 null。</exception> 260 </member> 261 <member name="M:System.IO.BinaryWriter.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean)"> 262 <summary>根據指定的資料流和特定的字元編碼方式,初始化 <see cref="T:System.IO.BinaryWriter" /> 類別的新執行個體,並選擇性讓資料流保持開啟。</summary> 263 <param name="output">輸出資料流。</param> 264 <param name="encoding">要使用的字元編碼。</param> 265 <param name="leaveOpen">true 表示在處置 <see cref="T:System.IO.BinaryWriter" /> 物件之後,將資料流保持開啟,否則為 false。</param> 266 <exception cref="T:System.ArgumentException">資料流不支援寫入,或已經關閉。</exception> 267 <exception cref="T:System.ArgumentNullException"> 268 <paramref name="output" /> 或 <paramref name="encoding" /> 是 null。</exception> 269 </member> 270 <member name="P:System.IO.BinaryWriter.BaseStream"> 271 <summary>取得 <see cref="T:System.IO.BinaryWriter" /> 的基礎資料流。</summary> 272 <returns>與 BinaryWriter 相關聯的基礎資料流。</returns> 273 <filterpriority>1</filterpriority> 274 </member> 275 <member name="M:System.IO.BinaryWriter.Dispose"> 276 <summary>將 <see cref="T:System.IO.BinaryWriter" /> 類別目前的執行個體所使用的資源全部釋出。</summary> 277 </member> 278 <member name="M:System.IO.BinaryWriter.Dispose(System.Boolean)"> 279 <summary>釋放 <see cref="T:System.IO.BinaryWriter" /> 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。</summary> 280 <param name="disposing">true 表示會同時釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 281 </member> 282 <member name="M:System.IO.BinaryWriter.Flush"> 283 <summary>清除目前寫入器 (Writer) 的所有緩衝區,並造成任何緩衝資料都寫入基礎裝置。</summary> 284 <filterpriority>1</filterpriority> 285 </member> 286 <member name="F:System.IO.BinaryWriter.Null"> 287 <summary>指定沒有備份存放區的 <see cref="T:System.IO.BinaryWriter" />。</summary> 288 <filterpriority>1</filterpriority> 289 </member> 290 <member name="F:System.IO.BinaryWriter.OutStream"> 291 <summary>容納基礎資料流。</summary> 292 </member> 293 <member name="M:System.IO.BinaryWriter.Seek(System.Int32,System.IO.SeekOrigin)"> 294 <summary>設定目前資料流位置。</summary> 295 <returns>目前資料流的位置。</returns> 296 <param name="offset">相對於 <paramref name="origin" /> 的位元組位移。</param> 297 <param name="origin"> 298 <see cref="T:System.IO.SeekOrigin" /> 的欄位,表示要取得新位置的參考點。</param> 299 <exception cref="T:System.IO.IOException">檔案指標已移至無效的位置。</exception> 300 <exception cref="T:System.ArgumentException"> 301 <see cref="T:System.IO.SeekOrigin" /> 值是無效的。</exception> 302 <filterpriority>1</filterpriority> 303 </member> 304 <member name="M:System.IO.BinaryWriter.Write(System.Boolean)"> 305 <summary>寫入一位元組的 Boolean 值至目前資料流,其中 0 表示 false,1 表示 true。</summary> 306 <param name="value">要寫入的 Boolean 值 (0 或 1)。</param> 307 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 308 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 309 <filterpriority>1</filterpriority> 310 </member> 311 <member name="M:System.IO.BinaryWriter.Write(System.Byte)"> 312 <summary>將不帶正負號 (Unsigned) 位元組寫入目前資料流,並將資料流位置前移一個位元組。</summary> 313 <param name="value">要寫入的不帶正負號位元組。</param> 314 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 315 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 316 <filterpriority>1</filterpriority> 317 </member> 318 <member name="M:System.IO.BinaryWriter.Write(System.Byte[])"> 319 <summary>將位元組陣列寫入基礎資料流。</summary> 320 <param name="buffer">含有要寫入之資料的位元組陣列。</param> 321 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 322 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 323 <exception cref="T:System.ArgumentNullException"> 324 <paramref name="buffer" /> 為 null。</exception> 325 <filterpriority>1</filterpriority> 326 </member> 327 <member name="M:System.IO.BinaryWriter.Write(System.Byte[],System.Int32,System.Int32)"> 328 <summary>將一個區域的位元組陣列寫入目前資料流。</summary> 329 <param name="buffer">含有要寫入之資料的位元組陣列。</param> 330 <param name="index"> 331 <paramref name="buffer" /> 中要開始寫入的起始點。</param> 332 <param name="count">要寫入的位元組數。</param> 333 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 334 <exception cref="T:System.ArgumentNullException"> 335 <paramref name="buffer" /> 為 null。</exception> 336 <exception cref="T:System.ArgumentOutOfRangeException"> 337 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 338 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 339 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 340 <filterpriority>1</filterpriority> 341 </member> 342 <member name="M:System.IO.BinaryWriter.Write(System.Char)"> 343 <summary>將 Unicode 字元寫入至目前資料流,並按照所使用的 Encoding 和寫入資料流的特定字元,將資料流中目前的位置往前移。</summary> 344 <param name="ch">非 Surrogate,要寫入的 Unicode 字元。</param> 345 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 346 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 347 <exception cref="T:System.ArgumentException"> 348 <paramref name="ch" /> 是單一 Surrogate 字元。</exception> 349 <filterpriority>1</filterpriority> 350 </member> 351 <member name="M:System.IO.BinaryWriter.Write(System.Char[])"> 352 <summary>將字元陣列寫入至目前資料流,並按照所使用的 Encoding 和寫入資料流的特定字元,將資料流中目前的位置往前移。</summary> 353 <param name="chars">含有要寫入之資料的字元陣列。</param> 354 <exception cref="T:System.ArgumentNullException"> 355 <paramref name="chars" /> 為 null。</exception> 356 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 357 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 358 <filterpriority>1</filterpriority> 359 </member> 360 <member name="M:System.IO.BinaryWriter.Write(System.Char[],System.Int32,System.Int32)"> 361 <summary>將字元陣列中的一區段寫入至目前的資料流,並按照所使用的 Encoding 和可能為寫入資料流的特定字元,將資料流中目前的位置往前移。</summary> 362 <param name="chars">含有要寫入之資料的字元陣列。</param> 363 <param name="index"> 364 <paramref name="chars" /> 中要開始寫入的起始點。</param> 365 <param name="count">要寫入的字元數。</param> 366 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 367 <exception cref="T:System.ArgumentNullException"> 368 <paramref name="chars" /> 為 null。</exception> 369 <exception cref="T:System.ArgumentOutOfRangeException"> 370 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 371 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 372 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 373 <filterpriority>1</filterpriority> 374 </member> 375 <member name="M:System.IO.BinaryWriter.Write(System.Decimal)"> 376 <summary>將十進位值寫入目前的資料流,並將資料流位置往前移十六個位元組。</summary> 377 <param name="value">要寫入的十進位值。</param> 378 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 379 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 380 <filterpriority>1</filterpriority> 381 </member> 382 <member name="M:System.IO.BinaryWriter.Write(System.Double)"> 383 <summary>將八位元組浮點數值寫入目前資料流,並將資料流目前位置前移八個位元組。</summary> 384 <param name="value">要寫入的八位元組浮點數值。</param> 385 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 386 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 387 <filterpriority>1</filterpriority> 388 </member> 389 <member name="M:System.IO.BinaryWriter.Write(System.Int16)"> 390 <summary>將二位元組帶正負號的整數 (Signed Integer) 寫入目前資料流,並將資料流目前位置前移兩個位元組。</summary> 391 <param name="value">要寫入的二位元組帶正負號的整數值。</param> 392 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 393 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 394 <filterpriority>1</filterpriority> 395 </member> 396 <member name="M:System.IO.BinaryWriter.Write(System.Int32)"> 397 <summary>將四位元組帶正負號的整數寫入目前資料流,並將資料流目前位置前移四個位元組。</summary> 398 <param name="value">要寫入的四位元組帶正負號的整數。</param> 399 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 400 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 401 <filterpriority>1</filterpriority> 402 </member> 403 <member name="M:System.IO.BinaryWriter.Write(System.Int64)"> 404 <summary>將八位元組帶正負號的整數寫入目前資料流,並將資料流目前位置前移八個位元組。</summary> 405 <param name="value">要寫入的八位元組帶正負號的整數。</param> 406 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 407 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 408 <filterpriority>1</filterpriority> 409 </member> 410 <member name="M:System.IO.BinaryWriter.Write(System.SByte)"> 411 <summary>將帶正負號 (Signed) 位元組寫入目前資料流,並將資料流位置前移一個位元組。</summary> 412 <param name="value">要寫入的帶正負號位元組。</param> 413 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 414 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 415 <filterpriority>1</filterpriority> 416 </member> 417 <member name="M:System.IO.BinaryWriter.Write(System.Single)"> 418 <summary>將四位元組浮點數 (Floating-Point) 值寫入目前資料流,並將資料流目前位置前移四個位元組。</summary> 419 <param name="value">要寫入的四位元組浮點數值。</param> 420 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 421 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 422 <filterpriority>1</filterpriority> 423 </member> 424 <member name="M:System.IO.BinaryWriter.Write(System.String)"> 425 <summary>將有長度前置字元的字串以目前 <see cref="T:System.IO.BinaryWriter" /> 的編碼方式寫入此資料流,並按照所使用的編碼方式和寫入資料流的特定字元,將資料流中目前的位置往前移。</summary> 426 <param name="value">要寫入的值。</param> 427 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 428 <exception cref="T:System.ArgumentNullException"> 429 <paramref name="value" /> 為 null。</exception> 430 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 431 <filterpriority>1</filterpriority> 432 </member> 433 <member name="M:System.IO.BinaryWriter.Write(System.UInt16)"> 434 <summary>將二位元組不帶正負號的整數寫入目前資料流,並將資料流目前位置前移兩個位元組。</summary> 435 <param name="value">要寫入的二位元組不帶正負號的整數。</param> 436 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 437 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 438 <filterpriority>1</filterpriority> 439 </member> 440 <member name="M:System.IO.BinaryWriter.Write(System.UInt32)"> 441 <summary>將四位元組不帶正負號的整數寫入目前資料流,並將資料流目前位置前移四個位元組。</summary> 442 <param name="value">要寫入的四位元組不帶正負號的整數。</param> 443 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 444 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 445 <filterpriority>1</filterpriority> 446 </member> 447 <member name="M:System.IO.BinaryWriter.Write(System.UInt64)"> 448 <summary>將八位元組不帶正負號的整數值寫入目前資料流,並將資料流目前位置前移八個位元組。</summary> 449 <param name="value">要寫入的八位元組不帶正負號的整數值。</param> 450 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 451 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 452 <filterpriority>1</filterpriority> 453 </member> 454 <member name="M:System.IO.BinaryWriter.Write7BitEncodedInt(System.Int32)"> 455 <summary>以壓縮格式寫入 32 位元整數。</summary> 456 <param name="value">要寫入的 32 位元整數。</param> 457 <exception cref="T:System.IO.EndOfStreamException">已到達資料流的末端。</exception> 458 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 459 <exception cref="T:System.IO.IOException">已關閉資料流。</exception> 460 </member> 461 <member name="T:System.IO.EndOfStreamException"> 462 <summary>嘗試超過資料流末端進行讀取時所擲回的例外狀況。</summary> 463 <filterpriority>2</filterpriority> 464 </member> 465 <member name="M:System.IO.EndOfStreamException.#ctor"> 466 <summary>將其訊息字串設定為系統提供的訊息且將其 HRESULT 設定為 COR_E_ENDOFSTREAM,初始化 <see cref="T:System.IO.EndOfStreamException" /> 類別的新執行個體。</summary> 467 </member> 468 <member name="M:System.IO.EndOfStreamException.#ctor(System.String)"> 469 <summary>使用其訊息字串設定為 <paramref name="message" /> 和其 HRESULT 設定為 COR_E_ENDOFSTREAM,初始化 <see cref="T:System.IO.EndOfStreamException" /> 類別的新執行個體。</summary> 470 <param name="message">描述錯誤的字串。<paramref name="message" /> 的內容必須能讓人了解。這個建構函式的呼叫端必須確保這個字串已經為目前系統的文化特性當地語系化。</param> 471 </member> 472 <member name="M:System.IO.EndOfStreamException.#ctor(System.String,System.Exception)"> 473 <summary>使用指定的錯誤訊息和造成這個例外狀況原因的內部例外參考,初始化 <see cref="T:System.IO.EndOfStreamException" /> 類別的新執行個體。</summary> 474 <param name="message">描述錯誤的字串。<paramref name="message" /> 的內容必須能讓人了解。這個建構函式的呼叫端必須確保這個字串已經為目前系統的文化特性當地語系化。</param> 475 <param name="innerException">導致目前例外狀況的例外。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param> 476 </member> 477 <member name="T:System.IO.InvalidDataException"> 478 <summary>資料流在格式無效時擲回的例外狀況。</summary> 479 </member> 480 <member name="M:System.IO.InvalidDataException.#ctor"> 481 <summary>初始化 <see cref="T:System.IO.InvalidDataException" /> 類別的新執行個體。</summary> 482 </member> 483 <member name="M:System.IO.InvalidDataException.#ctor(System.String)"> 484 <summary>使用指定的錯誤訊息,初始化 <see cref="T:System.IO.InvalidDataException" /> 類別的新執行個體。</summary> 485 <param name="message">解釋例外狀況原因的錯誤訊息。</param> 486 </member> 487 <member name="M:System.IO.InvalidDataException.#ctor(System.String,System.Exception)"> 488 <summary>使用造成這個例外狀況原因的內部例外參考,初始化 <see cref="T:System.IO.InvalidDataException" /> 類別的新執行個體。</summary> 489 <param name="message">解釋例外狀況原因的錯誤訊息。</param> 490 <param name="innerException">導致目前例外狀況的例外。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param> 491 </member> 492 <member name="T:System.IO.MemoryStream"> 493 <summary>建立支援的存放區為記憶體的資料流。若要浏览此类型的.NET Framework 源代码,请参阅 Reference Source。</summary> 494 <filterpriority>2</filterpriority> 495 </member> 496 <member name="M:System.IO.MemoryStream.#ctor"> 497 <summary>使用初始化為零的可擴展容量,初始化 <see cref="T:System.IO.MemoryStream" /> 類別的新執行個體。</summary> 498 </member> 499 <member name="M:System.IO.MemoryStream.#ctor(System.Byte[])"> 500 <summary>根據指定的位元組陣列,初始化 <see cref="T:System.IO.MemoryStream" /> 類別之不可調整大小的執行個體。</summary> 501 <param name="buffer">用於建立目前資料流之不帶正負號位元組的陣列。</param> 502 <exception cref="T:System.ArgumentNullException"> 503 <paramref name="buffer" /> 為 null。</exception> 504 </member> 505 <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Boolean)"> 506 <summary>根據具有指定的 <see cref="P:System.IO.MemoryStream.CanWrite" /> 屬性設定之位元組陣列,來初始化 <see cref="T:System.IO.MemoryStream" /> 類別之新的不可調整大小的執行個體。</summary> 507 <param name="buffer">用於建立這個資料流之不帶正負號位元組的陣列。</param> 508 <param name="writable"> 509 <see cref="P:System.IO.MemoryStream.CanWrite" /> 屬性的設定,決定資料流是否支援寫入。</param> 510 <exception cref="T:System.ArgumentNullException"> 511 <paramref name="buffer" /> 為 null。</exception> 512 </member> 513 <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Int32,System.Int32)"> 514 <summary>根據位元組陣列的指定區域 (索引),來初始化 <see cref="T:System.IO.MemoryStream" /> 類別之新的不可調整大小的執行個體。</summary> 515 <param name="buffer">用於建立這個資料流之不帶正負號位元組的陣列。</param> 516 <param name="index"> 517 <paramref name="buffer" /> 中資料流開始處的索引。</param> 518 <param name="count">資料流的長度,以位元組為單位。</param> 519 <exception cref="T:System.ArgumentNullException"> 520 <paramref name="buffer" /> 為 null。</exception> 521 <exception cref="T:System.ArgumentOutOfRangeException"> 522 <paramref name="index" /> 或 <paramref name="count" /> 小於零。</exception> 523 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 524 </member> 525 <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Int32,System.Int32,System.Boolean)"> 526 <summary>根據位元組陣列的指定區域 (且該區域使用依指定所設定的 <see cref="P:System.IO.MemoryStream.CanWrite" /> 屬性),來初始化 <see cref="T:System.IO.MemoryStream" /> 類別之新的不可調整大小的執行個體。</summary> 527 <param name="buffer">用於建立這個資料流之不帶正負號位元組的陣列。</param> 528 <param name="index"> 529 <paramref name="buffer" /> 中資料流開始處的索引。</param> 530 <param name="count">資料流的長度,以位元組為單位。</param> 531 <param name="writable"> 532 <see cref="P:System.IO.MemoryStream.CanWrite" /> 屬性的設定,決定資料流是否支援寫入。</param> 533 <exception cref="T:System.ArgumentNullException"> 534 <paramref name="buffer" /> 為 null。</exception> 535 <exception cref="T:System.ArgumentOutOfRangeException"> 536 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 537 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 538 </member> 539 <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)"> 540 <summary>根據指定的位元組陣列區域 (且該區域使用依指定所設定的 <see cref="P:System.IO.MemoryStream.CanWrite" /> 屬性和依指定所設定的呼叫 <see cref="M:System.IO.MemoryStream.GetBuffer" /> 的能力),來初始化 <see cref="T:System.IO.MemoryStream" /> 類別的新執行個體。</summary> 541 <param name="buffer">用於建立這個資料流之不帶正負號位元組的陣列。</param> 542 <param name="index"> 543 <paramref name="buffer" /> 中資料流開始處的索引。</param> 544 <param name="count">資料流的長度,以位元組為單位。</param> 545 <param name="writable"> 546 <see cref="P:System.IO.MemoryStream.CanWrite" /> 屬性的設定,決定資料流是否支援寫入。</param> 547 <param name="publiclyVisible">啟用 <see cref="M:System.IO.MemoryStream.GetBuffer" /> (傳回從其中建立資料流的不帶正負號的位元組陣列),則為 true;否則為 false。</param> 548 <exception cref="T:System.ArgumentNullException"> 549 <paramref name="buffer" /> 為 null。</exception> 550 <exception cref="T:System.ArgumentOutOfRangeException"> 551 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 552 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 553 </member> 554 <member name="M:System.IO.MemoryStream.#ctor(System.Int32)"> 555 <summary>使用初始化為指定的可擴展容量,初始化 <see cref="T:System.IO.MemoryStream" /> 類別的新執行個體。</summary> 556 <param name="capacity">內部陣列的初始大小,以位元組為單位。</param> 557 <exception cref="T:System.ArgumentOutOfRangeException"> 558 <paramref name="capacity" /> 為負值。</exception> 559 </member> 560 <member name="P:System.IO.MemoryStream.CanRead"> 561 <summary>取得表示目前資料流是否支援讀取的值。</summary> 562 <returns>true,如果資料流已開啟。</returns> 563 <filterpriority>2</filterpriority> 564 </member> 565 <member name="P:System.IO.MemoryStream.CanSeek"> 566 <summary>取得表示目前資料流是否支援搜尋的值。</summary> 567 <returns>true,如果資料流已開啟。</returns> 568 <filterpriority>2</filterpriority> 569 </member> 570 <member name="P:System.IO.MemoryStream.CanWrite"> 571 <summary>取得表示目前資料流是否支援寫入的值。</summary> 572 <returns>如果資料流支援寫入,則為 true;否則,為 false。</returns> 573 <filterpriority>2</filterpriority> 574 </member> 575 <member name="P:System.IO.MemoryStream.Capacity"> 576 <summary>取得或設定配置給這個資料流的位元組數目。</summary> 577 <returns>資料流緩衝區可使用部分的長度。</returns> 578 <exception cref="T:System.ArgumentOutOfRangeException">設定的容量為負數或小於資料流目前的長度。</exception> 579 <exception cref="T:System.ObjectDisposedException">目前的資料流已經關閉。</exception> 580 <exception cref="T:System.NotSupportedException">set 在無法修改其容量的資料流上被叫用 (Invoke)。</exception> 581 <filterpriority>2</filterpriority> 582 </member> 583 <member name="M:System.IO.MemoryStream.CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)"> 584 <summary>使用指定的緩衝區大小和取消語彙基元,以非同步的方式從目前資料流讀取所有位元組,並將其寫入另一個資料流。</summary> 585 <returns>表示非同步複製作業的工作。</returns> 586 <param name="destination">目前資料流的內容將複製到其中的資料流。</param> 587 <param name="bufferSize">緩衝區的大小 (以位元組為單位)。這個值必須大於零。</param> 588 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。</param> 589 <exception cref="T:System.ArgumentNullException"> 590 <paramref name="destination" /> 為 null。</exception> 591 <exception cref="T:System.ArgumentOutOfRangeException"> 592 <paramref name="buffersize" /> 為負值或零。</exception> 593 <exception cref="T:System.ObjectDisposedException">目前資料流或目的資料流已處置。</exception> 594 <exception cref="T:System.NotSupportedException">目前資料流不支援讀取,或目的資料流不支援寫入。</exception> 595 </member> 596 <member name="M:System.IO.MemoryStream.Dispose(System.Boolean)"> 597 <summary>釋放 <see cref="T:System.IO.MemoryStream" /> 類別所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。</summary> 598 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 599 </member> 600 <member name="M:System.IO.MemoryStream.Flush"> 601 <summary>覆寫 <see cref="M:System.IO.Stream.Flush" /> 方法,以便不執行任何動作。</summary> 602 <filterpriority>2</filterpriority> 603 </member> 604 <member name="M:System.IO.MemoryStream.FlushAsync(System.Threading.CancellationToken)"> 605 <summary>非同步清除這個資料流的所有緩衝區,並監視取消要求。</summary> 606 <returns>表示非同步排清作業的工作。</returns> 607 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。</param> 608 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 609 </member> 610 <member name="P:System.IO.MemoryStream.Length"> 611 <summary>取得資料流的長度,以位元組為單位。</summary> 612 <returns>資料流的長度,以位元組為單位。</returns> 613 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 614 <filterpriority>2</filterpriority> 615 </member> 616 <member name="P:System.IO.MemoryStream.Position"> 617 <summary>取得或設定資料流中目前的位置。</summary> 618 <returns>在資料流的目前位置。</returns> 619 <exception cref="T:System.ArgumentOutOfRangeException">位置設為負數值或大於 <see cref="F:System.Int32.MaxValue" /> 的值。</exception> 620 <exception cref="T:System.ObjectDisposedException">已關閉資料流。</exception> 621 <filterpriority>2</filterpriority> 622 </member> 623 <member name="M:System.IO.MemoryStream.Read(System.Byte[],System.Int32,System.Int32)"> 624 <summary>從目前的資料流讀取位元組區塊,並且將資料寫入緩衝區。</summary> 625 <returns>寫入至緩衝區的總位元組數。如果目前無法提供那麼多的位元組數目,則這個數目可能小於所要求的位元組數目,或如果在讀取任何資料之前已經到達資料流末端,則為零。</returns> 626 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="offset" /> 和 (<paramref name="offset" /> + <paramref name="count" /> - 1) 之值的指定位元組陣列,該值是由讀取自目前資料流的字元所取代。</param> 627 <param name="offset"> 628 <paramref name="buffer" /> 中以零為起始的位元組位移,用來開始儲存讀取自目前資料流的資料。</param> 629 <param name="count">要讀取的最大位元組數。</param> 630 <exception cref="T:System.ArgumentNullException"> 631 <paramref name="buffer" /> 為 null。</exception> 632 <exception cref="T:System.ArgumentOutOfRangeException"> 633 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 634 <exception cref="T:System.ArgumentException">緩衝區的長度減去 <paramref name="offset" /> 小於 <paramref name="count" />。</exception> 635 <exception cref="T:System.ObjectDisposedException">目前的資料流執行個體已關閉。</exception> 636 <filterpriority>2</filterpriority> 637 </member> 638 <member name="M:System.IO.MemoryStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)"> 639 <summary>以非同步的方式從目前資料流讀取一連串的位元組、依所讀取的位元組數目進階資料流中的位置,以及監視取消要求。</summary> 640 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達資料流末端,則可能為 0 (零)。</returns> 641 <param name="buffer">寫入資料的緩衝區。</param> 642 <param name="offset">開始於此處自資料流寫入資料的 <paramref name="buffer" /> 中的位元組位移。</param> 643 <param name="count">要讀取的最大位元組數。</param> 644 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。預設值是 <see cref="P:System.Threading.CancellationToken.None" />。</param> 645 <exception cref="T:System.ArgumentNullException"> 646 <paramref name="buffer" /> 為 null。</exception> 647 <exception cref="T:System.ArgumentOutOfRangeException"> 648 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 649 <exception cref="T:System.ArgumentException"> 650 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 651 <exception cref="T:System.NotSupportedException">資料流不支援讀取。</exception> 652 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 653 <exception cref="T:System.InvalidOperationException">資料流目前由先前讀取作業所使用。</exception> 654 </member> 655 <member name="M:System.IO.MemoryStream.ReadByte"> 656 <summary>從目前的資料流讀取位元組。</summary> 657 <returns>轉型為 <see cref="T:System.Int32" /> 的位元組;如果已經到達資料流的末端,則為 -1。</returns> 658 <exception cref="T:System.ObjectDisposedException">目前的資料流執行個體已關閉。</exception> 659 <filterpriority>2</filterpriority> 660 </member> 661 <member name="M:System.IO.MemoryStream.Seek(System.Int64,System.IO.SeekOrigin)"> 662 <summary>將目前資料流中的位置設定為指定的數值。</summary> 663 <returns>資料流中的新位置,是組合初始的參考點和位移計算出來的。</returns> 664 <param name="offset">資料流中的新位置。這是相對於 <paramref name="loc" /> 參數,並且可能是正數或負數。</param> 665 <param name="loc"> 666 <see cref="T:System.IO.SeekOrigin" /> 類型的值,做為搜尋參考點。</param> 667 <exception cref="T:System.IO.IOException">在資料流開頭之前嘗試搜尋。</exception> 668 <exception cref="T:System.ArgumentOutOfRangeException"> 669 <paramref name="offset" /> 大於 <see cref="F:System.Int32.MaxValue" />。</exception> 670 <exception cref="T:System.ArgumentException">有無效的 <see cref="T:System.IO.SeekOrigin" />。-或-<paramref name="offset" /> 造成了算術溢位。</exception> 671 <exception cref="T:System.ObjectDisposedException">目前的資料流執行個體已關閉。</exception> 672 <filterpriority>2</filterpriority> 673 </member> 674 <member name="M:System.IO.MemoryStream.SetLength(System.Int64)"> 675 <summary>將目前資料流的長度設定為指定的數值。</summary> 676 <param name="value">要設定長度的數值。</param> 677 <exception cref="T:System.NotSupportedException">目前的資料流不是可調整大小的,並且 <paramref name="value" /> 大於目前的容量。-或- 目前的資料流不支援寫入。</exception> 678 <exception cref="T:System.ArgumentOutOfRangeException"> 679 <paramref name="value" /> 為負,或大於 <see cref="T:System.IO.MemoryStream" /> 的最大長度,最大長度是 (<see cref="F:System.Int32.MaxValue" /> - 原點),原點是資料流開始的基礎緩衝區索引。</exception> 680 <filterpriority>2</filterpriority> 681 </member> 682 <member name="M:System.IO.MemoryStream.ToArray"> 683 <summary>不論 <see cref="P:System.IO.MemoryStream.Position" /> 屬性為何,將資料流內容寫入位元組陣列。</summary> 684 <returns>新的位元組陣列。</returns> 685 <filterpriority>2</filterpriority> 686 </member> 687 <member name="M:System.IO.MemoryStream.TryGetBuffer(System.ArraySegment{System.Byte}@)"> 688 <summary>傳回用於建立這個資料流之不帶正負號位元組的陣列。指出轉換是否成功的傳回值。</summary> 689 <returns>如果轉換成功,則為 true;否則為 false。</returns> 690 <param name="buffer">從其中建立此資料流的位元組陣列區段。</param> 691 </member> 692 <member name="M:System.IO.MemoryStream.Write(System.Byte[],System.Int32,System.Int32)"> 693 <summary>使用讀取自緩衝區的資料,將位元組區塊寫入至目前的資料流。</summary> 694 <param name="buffer">寫入資料的來源緩衝區。</param> 695 <param name="offset"> 696 <paramref name="buffer" /> 中以零起始的位元組位移,即開始將位元組複製到目前資料流的位置。</param> 697 <param name="count">寫入的最大位元組數。</param> 698 <exception cref="T:System.ArgumentNullException"> 699 <paramref name="buffer" /> 為 null。</exception> 700 <exception cref="T:System.NotSupportedException">資料流不支援寫入。如需詳細資訊,請參閱 <see cref="P:System.IO.Stream.CanWrite" />。-或- 和 <paramref name="count" /> 位元組相比,目前的位置更接近資料流末端,並且容量無法修改。</exception> 701 <exception cref="T:System.ArgumentException">緩衝區的長度減去 <paramref name="offset" /> 小於 <paramref name="count" />。</exception> 702 <exception cref="T:System.ArgumentOutOfRangeException"> 703 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 704 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 705 <exception cref="T:System.ObjectDisposedException">目前的資料流執行個體已關閉。</exception> 706 <filterpriority>2</filterpriority> 707 </member> 708 <member name="M:System.IO.MemoryStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)"> 709 <summary>以非同步的方式將一連串的位元組寫入目前的資料流,由這個資料流中目前的位置前移寫入的位元組數目,並且監視取消要求。</summary> 710 <returns>表示非同步寫入作業的工作。</returns> 711 <param name="buffer">寫入資料的來源緩衝區。</param> 712 <param name="offset"> 713 <paramref name="buffer" /> 中以零起始的位元組位移,要從其中開始將位元組複製至資料流。</param> 714 <param name="count">寫入的最大位元組數。</param> 715 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。預設值是 <see cref="P:System.Threading.CancellationToken.None" />。</param> 716 <exception cref="T:System.ArgumentNullException"> 717 <paramref name="buffer" /> 為 null。</exception> 718 <exception cref="T:System.ArgumentOutOfRangeException"> 719 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 720 <exception cref="T:System.ArgumentException"> 721 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 722 <exception cref="T:System.NotSupportedException">資料流不支援寫入。</exception> 723 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 724 <exception cref="T:System.InvalidOperationException">資料流目前由先前寫入作業所使用。</exception> 725 </member> 726 <member name="M:System.IO.MemoryStream.WriteByte(System.Byte)"> 727 <summary>寫入位元組至資料流目前位置。</summary> 728 <param name="value">要寫入的位元組。</param> 729 <exception cref="T:System.NotSupportedException">資料流不支援寫入。如需詳細資訊,請參閱 <see cref="P:System.IO.Stream.CanWrite" />。-或- 目前的位置在資料流結尾,並且無法修改容量。</exception> 730 <exception cref="T:System.ObjectDisposedException">目前的資料流已經關閉。</exception> 731 <filterpriority>2</filterpriority> 732 </member> 733 <member name="M:System.IO.MemoryStream.WriteTo(System.IO.Stream)"> 734 <summary>將這個記憶體資料流的整個內容寫入另一個資料流。</summary> 735 <param name="stream">要寫入這個記憶體資料流的資料流。</param> 736 <exception cref="T:System.ArgumentNullException"> 737 <paramref name="stream" /> 為 null。</exception> 738 <exception cref="T:System.ObjectDisposedException">目前的資料流或目標資料流已經關閉。</exception> 739 <filterpriority>2</filterpriority> 740 </member> 741 <member name="T:System.IO.SeekOrigin"> 742 <summary>指定資料流中要用於搜尋的位置。</summary> 743 <filterpriority>2</filterpriority> 744 </member> 745 <member name="F:System.IO.SeekOrigin.Begin"> 746 <summary>指定資料流的開端。</summary> 747 </member> 748 <member name="F:System.IO.SeekOrigin.Current"> 749 <summary>指定資料流中的目前位置。</summary> 750 </member> 751 <member name="F:System.IO.SeekOrigin.End"> 752 <summary>指定資料流的末端。</summary> 753 </member> 754 <member name="T:System.IO.Stream"> 755 <summary>提供位元組順序的一般觀點。這是 abstract 類別。若要浏览此类型的.NET Framework 源代码,请参阅 Reference Source。</summary> 756 <filterpriority>2</filterpriority> 757 </member> 758 <member name="M:System.IO.Stream.#ctor"> 759 <summary>初始化 <see cref="T:System.IO.Stream" /> 類別的新執行個體。</summary> 760 </member> 761 <member name="P:System.IO.Stream.CanRead"> 762 <summary>在衍生類別中覆寫時,取得指示目前的資料流是否支援讀取的數值。</summary> 763 <returns>如果資料流支援讀取,則為 true;否則為 false。</returns> 764 <filterpriority>1</filterpriority> 765 </member> 766 <member name="P:System.IO.Stream.CanSeek"> 767 <summary>在衍生類別中覆寫時,取得指示目前資料流是否支援搜尋的數值。</summary> 768 <returns>如果資料流支援搜尋,則為 true;否則為 false。</returns> 769 <filterpriority>1</filterpriority> 770 </member> 771 <member name="P:System.IO.Stream.CanTimeout"> 772 <summary>取得值,該值判斷目前的資料流是否可以逾時。</summary> 773 <returns>值,判斷目前的資料流是否可以逾時。</returns> 774 <filterpriority>2</filterpriority> 775 </member> 776 <member name="P:System.IO.Stream.CanWrite"> 777 <summary>在衍生類別中覆寫時,取得指示目前資料流是否支援寫入的數值。</summary> 778 <returns>如果資料流支援寫入,則為 true;否則,為 false。</returns> 779 <filterpriority>1</filterpriority> 780 </member> 781 <member name="M:System.IO.Stream.CopyTo(System.IO.Stream)"> 782 <summary>從目前資料流讀取位元組,並將其寫入另一個資料流中。</summary> 783 <param name="destination">目前資料流的內容將複製到其中的資料流。</param> 784 <exception cref="T:System.ArgumentNullException"> 785 <paramref name="destination" /> 為 null。</exception> 786 <exception cref="T:System.NotSupportedException">目前資料流不支援讀取。-或-<paramref name="destination" /> 不支援寫入。</exception> 787 <exception cref="T:System.ObjectDisposedException">目前資料流或 <paramref name="destination" /> 已經在呼叫 <see cref="M:System.IO.Stream.CopyTo(System.IO.Stream)" /> 方法之前關閉。</exception> 788 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 789 </member> 790 <member name="M:System.IO.Stream.CopyTo(System.IO.Stream,System.Int32)"> 791 <summary>使用指定的緩衝區大小,從目前資料流讀取所有位元組,並將其寫入另一個資料流中。</summary> 792 <param name="destination">目前資料流的內容將複製到其中的資料流。</param> 793 <param name="bufferSize">緩衝區的大小。這個值必須大於零。預設大小為 81920。</param> 794 <exception cref="T:System.ArgumentNullException"> 795 <paramref name="destination" /> 為 null。</exception> 796 <exception cref="T:System.ArgumentOutOfRangeException"> 797 <paramref name="bufferSize" /> 為負值或零。</exception> 798 <exception cref="T:System.NotSupportedException">目前資料流不支援讀取。-或-<paramref name="destination" /> 不支援寫入。</exception> 799 <exception cref="T:System.ObjectDisposedException">目前資料流或 <paramref name="destination" /> 已經在呼叫 <see cref="M:System.IO.Stream.CopyTo(System.IO.Stream)" /> 方法之前關閉。</exception> 800 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 801 </member> 802 <member name="M:System.IO.Stream.CopyToAsync(System.IO.Stream)"> 803 <summary>以非同步的方式從目前資料流讀取所有位元組,並將其寫入另一個資料流中。</summary> 804 <returns>表示非同步複製作業的工作。</returns> 805 <param name="destination">目前資料流的內容將複製到其中的資料流。</param> 806 <exception cref="T:System.ArgumentNullException"> 807 <paramref name="destination" /> 為 null。</exception> 808 <exception cref="T:System.ObjectDisposedException">目前資料流或目的資料流已處置。</exception> 809 <exception cref="T:System.NotSupportedException">目前資料流不支援讀取,或目的資料流不支援寫入。</exception> 810 </member> 811 <member name="M:System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32)"> 812 <summary>使用指定的緩衝區大小,以非同步的方式從目前資料流讀取所有位元組,並將其寫入另一個資料流中。</summary> 813 <returns>表示非同步複製作業的工作。</returns> 814 <param name="destination">目前資料流的內容將複製到其中的資料流。</param> 815 <param name="bufferSize">緩衝區的大小 (以位元組為單位)。這個值必須大於零。預設大小為 81920。</param> 816 <exception cref="T:System.ArgumentNullException"> 817 <paramref name="destination" /> 為 null。</exception> 818 <exception cref="T:System.ArgumentOutOfRangeException"> 819 <paramref name="buffersize" /> 為負值或零。</exception> 820 <exception cref="T:System.ObjectDisposedException">目前資料流或目的資料流已處置。</exception> 821 <exception cref="T:System.NotSupportedException">目前資料流不支援讀取,或目的資料流不支援寫入。</exception> 822 </member> 823 <member name="M:System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)"> 824 <summary>使用指定的緩衝區大小和取消語彙基元,以非同步的方式從目前資料流讀取位元組,並將其寫入另一個資料流。</summary> 825 <returns>表示非同步複製作業的工作。</returns> 826 <param name="destination">目前資料流的內容將複製到其中的資料流。</param> 827 <param name="bufferSize">緩衝區的大小 (以位元組為單位)。這個值必須大於零。預設大小為 81920。</param> 828 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。預設值是 <see cref="P:System.Threading.CancellationToken.None" />。</param> 829 <exception cref="T:System.ArgumentNullException"> 830 <paramref name="destination" /> 為 null。</exception> 831 <exception cref="T:System.ArgumentOutOfRangeException"> 832 <paramref name="buffersize" /> 為負值或零。</exception> 833 <exception cref="T:System.ObjectDisposedException">目前資料流或目的資料流已處置。</exception> 834 <exception cref="T:System.NotSupportedException">目前資料流不支援讀取,或目的資料流不支援寫入。</exception> 835 </member> 836 <member name="M:System.IO.Stream.Dispose"> 837 <summary>釋放 <see cref="T:System.IO.Stream" /> 所使用的所有資源。</summary> 838 </member> 839 <member name="M:System.IO.Stream.Dispose(System.Boolean)"> 840 <summary>釋放 <see cref="T:System.IO.Stream" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary> 841 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 842 </member> 843 <member name="M:System.IO.Stream.Flush"> 844 <summary>當在衍生類別中覆寫時,會清除這個資料流的所有緩衝區,並造成所有緩衝資料都寫入基礎裝置。</summary> 845 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 846 <filterpriority>2</filterpriority> 847 </member> 848 <member name="M:System.IO.Stream.FlushAsync"> 849 <summary>以非同步的方式清除這個資料流的所有緩衝區,並造成所有緩衝資料都寫入基礎裝置。</summary> 850 <returns>表示非同步排清作業的工作。</returns> 851 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 852 </member> 853 <member name="M:System.IO.Stream.FlushAsync(System.Threading.CancellationToken)"> 854 <summary>以非同步的方式清除這個資料流的所有緩衝區,造成任何緩衝資料都寫入基礎裝置,並且監視取消要求。</summary> 855 <returns>表示非同步排清作業的工作。</returns> 856 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。預設值是 <see cref="P:System.Threading.CancellationToken.None" />。</param> 857 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 858 </member> 859 <member name="P:System.IO.Stream.Length"> 860 <summary>在衍生類別中覆寫時,取得資料流的長度 (以位元組為單位)。</summary> 861 <returns>代表資料流長度的長數值 (以位元組為單位)。</returns> 862 <exception cref="T:System.NotSupportedException">衍生自 Stream 的類別不支援搜尋。</exception> 863 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 864 <filterpriority>1</filterpriority> 865 </member> 866 <member name="F:System.IO.Stream.Null"> 867 <summary>沒有底層存放區的 Stream。</summary> 868 <filterpriority>1</filterpriority> 869 </member> 870 <member name="P:System.IO.Stream.Position"> 871 <summary>在衍生類別中覆寫時,取得或設定在目前資料流的位置。</summary> 872 <returns>在資料流的目前位置。</returns> 873 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 874 <exception cref="T:System.NotSupportedException">資料流不支援搜尋。</exception> 875 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 876 <filterpriority>1</filterpriority> 877 </member> 878 <member name="M:System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32)"> 879 <summary>當在衍生類別中覆寫時,自目前資料流讀取一連串的位元組,並依所讀取的位元組數目進階資料流中的位置。</summary> 880 <returns>緩衝區所讀取的總位元組數。如果目前無法取得足夠的位元組,則這個數目可能小於所要求的位元組數,如果已經到達資料流末端,則為零 (0)。</returns> 881 <param name="buffer">位元組陣列。當這個方法返回時,緩衝區會包含具有介於 <paramref name="offset" /> 和 (<paramref name="offset" /> + <paramref name="count" /> - 1) 值的指定位元組陣列,由從目前來源讀取的位元組所取代。</param> 882 <param name="offset"> 883 <paramref name="buffer" /> 中以零起始的位元組位移,即開始儲存讀取自目前資料流之資料的位置。</param> 884 <param name="count">自目前資料流讀取的最大位元組數。</param> 885 <exception cref="T:System.ArgumentException"> 886 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 887 <exception cref="T:System.ArgumentNullException"> 888 <paramref name="buffer" /> 為 null。</exception> 889 <exception cref="T:System.ArgumentOutOfRangeException"> 890 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 891 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 892 <exception cref="T:System.NotSupportedException">資料流不支援讀取。</exception> 893 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 894 <filterpriority>1</filterpriority> 895 </member> 896 <member name="M:System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32)"> 897 <summary>以非同步的方式從目前的資料流讀取位元組序列,並依讀取的位元組數將資料流中的位置往前移。</summary> 898 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達資料流末端,則可能為 0 (零)。</returns> 899 <param name="buffer">寫入資料的緩衝區。</param> 900 <param name="offset">開始於此處自資料流寫入資料的 <paramref name="buffer" /> 中的位元組位移。</param> 901 <param name="count">要讀取的最大位元組數。</param> 902 <exception cref="T:System.ArgumentNullException"> 903 <paramref name="buffer" /> 為 null。</exception> 904 <exception cref="T:System.ArgumentOutOfRangeException"> 905 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 906 <exception cref="T:System.ArgumentException"> 907 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 908 <exception cref="T:System.NotSupportedException">資料流不支援讀取。</exception> 909 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 910 <exception cref="T:System.InvalidOperationException">資料流目前由先前讀取作業所使用。</exception> 911 </member> 912 <member name="M:System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)"> 913 <summary>以非同步的方式從目前資料流讀取一連串的位元組、依所讀取的位元組數目進階資料流中的位置,以及監視取消要求。</summary> 914 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達資料流末端,則可能為 0 (零)。</returns> 915 <param name="buffer">寫入資料的緩衝區。</param> 916 <param name="offset">開始於此處自資料流寫入資料的 <paramref name="buffer" /> 中的位元組位移。</param> 917 <param name="count">要讀取的最大位元組數。</param> 918 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。預設值是 <see cref="P:System.Threading.CancellationToken.None" />。</param> 919 <exception cref="T:System.ArgumentNullException"> 920 <paramref name="buffer" /> 為 null。</exception> 921 <exception cref="T:System.ArgumentOutOfRangeException"> 922 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 923 <exception cref="T:System.ArgumentException"> 924 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 925 <exception cref="T:System.NotSupportedException">資料流不支援讀取。</exception> 926 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 927 <exception cref="T:System.InvalidOperationException">資料流目前由先前讀取作業所使用。</exception> 928 </member> 929 <member name="M:System.IO.Stream.ReadByte"> 930 <summary>從資料流讀取一個位元組,並將資料流的位置推進一個位元組;如果在資料流末端,則傳回 -1。</summary> 931 <returns>轉型為 Int32 的不帶正負號位元組,如果在資料流末端,則為 -1。</returns> 932 <exception cref="T:System.NotSupportedException">資料流不支援讀取。</exception> 933 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 934 <filterpriority>2</filterpriority> 935 </member> 936 <member name="P:System.IO.Stream.ReadTimeout"> 937 <summary>取得或設定值 (以毫秒為單位),該值決定在逾時前資料流將嘗試讀取多長時間。</summary> 938 <returns>值 (以毫秒為單位),該值決定在逾時前資料流將嘗試讀取多長時間。</returns> 939 <exception cref="T:System.InvalidOperationException"> 940 <see cref="P:System.IO.Stream.ReadTimeout" /> 方法必須擲回 <see cref="T:System.InvalidOperationException" />。</exception> 941 <filterpriority>2</filterpriority> 942 </member> 943 <member name="M:System.IO.Stream.Seek(System.Int64,System.IO.SeekOrigin)"> 944 <summary>在衍生類別中覆寫時,設定在目前資料流的位置。</summary> 945 <returns>目前資料流的新位置。</returns> 946 <param name="offset">相對於 <paramref name="origin" /> 參數的位元組位移。</param> 947 <param name="origin"> 948 <see cref="T:System.IO.SeekOrigin" /> 類型的值,表示用來取得新位置的參考點。</param> 949 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 950 <exception cref="T:System.NotSupportedException">資料流不支援搜尋,例如資料流為管道或主控台 (Console) 輸出所建構。</exception> 951 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 952 <filterpriority>1</filterpriority> 953 </member> 954 <member name="M:System.IO.Stream.SetLength(System.Int64)"> 955 <summary>在衍生類別中覆寫時,設定目前資料流的長度。</summary> 956 <param name="value">想要的目前資料流長度 (單位為位元組)。</param> 957 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 958 <exception cref="T:System.NotSupportedException">資料流不支援寫入和搜尋,例如,如果資料流是從管道或主控台 (Console) 輸出所建構。</exception> 959 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 960 <filterpriority>2</filterpriority> 961 </member> 962 <member name="M:System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)"> 963 <summary>在衍生類別中覆寫時,將一連串的位元組寫入目前的資料流,並且由這個資料流中目前的位置前移寫入的位元組數目。</summary> 964 <param name="buffer">位元組陣列。此方法會從 <paramref name="buffer" /> 複製 <paramref name="count" /> 位元組到目前資料流。</param> 965 <param name="offset"> 966 <paramref name="buffer" /> 中以零起始的位元組位移,即開始將位元組複製到目前資料流的位置。</param> 967 <param name="count">寫入目前資料流的位元組數目。</param> 968 <exception cref="T:System.ArgumentException">总和 <paramref name="offset" /> 和 <paramref name="count" /> 大于缓冲区长度。</exception> 969 <exception cref="T:System.ArgumentNullException"> 970 <paramref name="buffer" /> 是 null。</exception> 971 <exception cref="T:System.ArgumentOutOfRangeException"> 972 <paramref name="offset" /> 或 <paramref name="count" /> 为负。</exception> 973 <exception cref="T:System.IO.IOException">将出现 I/O 错误,如找不到指定的文件。</exception> 974 <exception cref="T:System.NotSupportedException">資料流不支援寫入。</exception> 975 <exception cref="T:System.ObjectDisposedException"> 976 <see cref="M:System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)" /> 流关闭后调用。</exception> 977 <filterpriority>1</filterpriority> 978 </member> 979 <member name="M:System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32)"> 980 <summary>以非同步的方式將位元組序列寫入至目前的資料流,並依寫入的位元組數將資料流中目前的位置往前移。</summary> 981 <returns>表示非同步寫入作業的工作。</returns> 982 <param name="buffer">寫入資料的來源緩衝區。</param> 983 <param name="offset"> 984 <paramref name="buffer" /> 中以零起始的位元組位移,要從其中開始將位元組複製至資料流。</param> 985 <param name="count">寫入的最大位元組數。</param> 986 <exception cref="T:System.ArgumentNullException"> 987 <paramref name="buffer" /> 為 null。</exception> 988 <exception cref="T:System.ArgumentOutOfRangeException"> 989 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 990 <exception cref="T:System.ArgumentException"> 991 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 992 <exception cref="T:System.NotSupportedException">資料流不支援寫入。</exception> 993 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 994 <exception cref="T:System.InvalidOperationException">資料流目前由先前寫入作業所使用。</exception> 995 </member> 996 <member name="M:System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)"> 997 <summary>以非同步的方式將一連串的位元組寫入目前的資料流,由這個資料流中目前的位置前移寫入的位元組數目,並且監視取消要求。</summary> 998 <returns>表示非同步寫入作業的工作。</returns> 999 <param name="buffer">寫入資料的來源緩衝區。</param> 1000 <param name="offset"> 1001 <paramref name="buffer" /> 中以零起始的位元組位移,要從其中開始將位元組複製至資料流。</param> 1002 <param name="count">寫入的最大位元組數。</param> 1003 <param name="cancellationToken">用來監視是否有取消要求的語彙基元。預設值是 <see cref="P:System.Threading.CancellationToken.None" />。</param> 1004 <exception cref="T:System.ArgumentNullException"> 1005 <paramref name="buffer" /> 為 null。</exception> 1006 <exception cref="T:System.ArgumentOutOfRangeException"> 1007 <paramref name="offset" /> 或 <paramref name="count" /> 為負值。</exception> 1008 <exception cref="T:System.ArgumentException"> 1009 <paramref name="offset" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1010 <exception cref="T:System.NotSupportedException">資料流不支援寫入。</exception> 1011 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 1012 <exception cref="T:System.InvalidOperationException">資料流目前由先前寫入作業所使用。</exception> 1013 </member> 1014 <member name="M:System.IO.Stream.WriteByte(System.Byte)"> 1015 <summary>寫入一個位元組至資料流的目前位置,並將資料流位置推進一個位元組。</summary> 1016 <param name="value">寫入資料流的位元組。</param> 1017 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1018 <exception cref="T:System.NotSupportedException">資料流不支援寫入,或資料流已經關閉。</exception> 1019 <exception cref="T:System.ObjectDisposedException">在資料流關閉後,會呼叫方法。</exception> 1020 <filterpriority>2</filterpriority> 1021 </member> 1022 <member name="P:System.IO.Stream.WriteTimeout"> 1023 <summary>取得或設定值 (以毫秒為單位),該值決定在逾時前資料流將嘗試寫入多長時間。</summary> 1024 <returns>值 (以毫秒為單位),該值決定在逾時前資料流將嘗試寫入多長時間。</returns> 1025 <exception cref="T:System.InvalidOperationException"> 1026 <see cref="P:System.IO.Stream.WriteTimeout" /> 方法必須擲回 <see cref="T:System.InvalidOperationException" />。</exception> 1027 <filterpriority>2</filterpriority> 1028 </member> 1029 <member name="T:System.IO.StreamReader"> 1030 <summary>實作以特定的編碼方式自位元組資料流讀取字元的 <see cref="T:System.IO.TextReader" />。若要浏览此类型的.NET Framework 源代码,请参阅 Reference Source。</summary> 1031 <filterpriority>1</filterpriority> 1032 </member> 1033 <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream)"> 1034 <summary>為指定的資料流,初始化 <see cref="T:System.IO.StreamReader" /> 類別的新執行個體。</summary> 1035 <param name="stream">要讀取的資料流。</param> 1036 <exception cref="T:System.ArgumentException"> 1037 <paramref name="stream" /> 不支援讀取。</exception> 1038 <exception cref="T:System.ArgumentNullException"> 1039 <paramref name="stream" /> 為 null。</exception> 1040 </member> 1041 <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Boolean)"> 1042 <summary>使用指定的位元組順序標記偵測選項,針對指定的資料流初始化 <see cref="T:System.IO.StreamReader" /> 類別的新執行個體。</summary> 1043 <param name="stream">要讀取的資料流。</param> 1044 <param name="detectEncodingFromByteOrderMarks">表示是否在檔案開頭尋找位元組順序標記。</param> 1045 <exception cref="T:System.ArgumentException"> 1046 <paramref name="stream" /> 不支援讀取。</exception> 1047 <exception cref="T:System.ArgumentNullException"> 1048 <paramref name="stream" /> 為 null。</exception> 1049 </member> 1050 <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding)"> 1051 <summary>使用指定的字元編碼,針對指定的資料流初始化 <see cref="T:System.IO.StreamReader" /> 類別的新執行個體。</summary> 1052 <param name="stream">要讀取的資料流。</param> 1053 <param name="encoding">要使用的字元編碼。</param> 1054 <exception cref="T:System.ArgumentException"> 1055 <paramref name="stream" /> 不支援讀取。</exception> 1056 <exception cref="T:System.ArgumentNullException"> 1057 <paramref name="stream" /> 或 <paramref name="encoding" /> 為 null。</exception> 1058 </member> 1059 <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean)"> 1060 <summary>使用指定的字元編碼和位元組順序標記偵測選項,為指定的資料流初始化 <see cref="T:System.IO.StreamReader" /> 類別的新執行個體。</summary> 1061 <param name="stream">要讀取的資料流。</param> 1062 <param name="encoding">要使用的字元編碼。</param> 1063 <param name="detectEncodingFromByteOrderMarks">表示是否在檔案開頭尋找位元組順序標記。</param> 1064 <exception cref="T:System.ArgumentException"> 1065 <paramref name="stream" /> 不支援讀取。</exception> 1066 <exception cref="T:System.ArgumentNullException"> 1067 <paramref name="stream" /> 或 <paramref name="encoding" /> 為 null。</exception> 1068 </member> 1069 <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Int32)"> 1070 <summary>使用指定的字元編碼、位元組順序標記偵測選項和緩衝區大小,為指定的資料流初始化 <see cref="T:System.IO.StreamReader" /> 類別的新執行個體。</summary> 1071 <param name="stream">要讀取的資料流。</param> 1072 <param name="encoding">要使用的字元編碼。</param> 1073 <param name="detectEncodingFromByteOrderMarks">表示是否在檔案開頭尋找位元組順序標記。</param> 1074 <param name="bufferSize">最小緩衝區大小。</param> 1075 <exception cref="T:System.ArgumentException">資料流不支援讀取。</exception> 1076 <exception cref="T:System.ArgumentNullException"> 1077 <paramref name="stream" /> 或 <paramref name="encoding" /> 為 null。</exception> 1078 <exception cref="T:System.ArgumentOutOfRangeException"> 1079 <paramref name="bufferSize" /> 小於或等於零值。</exception> 1080 </member> 1081 <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Int32,System.Boolean)"> 1082 <summary>根據指定的字元編碼、位元順序標記偵測選項和緩衝區大小,為指定的資料流初始化 <see cref="T:System.IO.StreamReader" /> 類別的新執行個體,並選擇性讓資料流保持開啟。</summary> 1083 <param name="stream">要讀取的資料流。</param> 1084 <param name="encoding">要使用的字元編碼。</param> 1085 <param name="detectEncodingFromByteOrderMarks">true 表示在檔案開頭尋找位元順序標記;否則為 false。</param> 1086 <param name="bufferSize">最小緩衝區大小。</param> 1087 <param name="leaveOpen">true 表示在處置 <see cref="T:System.IO.StreamReader" /> 物件之後,將資料流保持開啟;否則為 false。</param> 1088 </member> 1089 <member name="P:System.IO.StreamReader.BaseStream"> 1090 <summary>傳回基礎資料流。</summary> 1091 <returns>基礎資料流。</returns> 1092 <filterpriority>2</filterpriority> 1093 </member> 1094 <member name="P:System.IO.StreamReader.CurrentEncoding"> 1095 <summary>取得目前 <see cref="T:System.IO.StreamReader" /> 物件使用的目前字元編碼。</summary> 1096 <returns>目前讀取器所使用的字元編碼。在第一次呼叫 <see cref="T:System.IO.StreamReader" /> 的任何 <see cref="Overload:System.IO.StreamReader.Read" /> 方法之後其值可能不同,因為編碼方式的自動偵測要等到第一次呼叫 <see cref="Overload:System.IO.StreamReader.Read" /> 方法後才完成。</returns> 1097 <filterpriority>2</filterpriority> 1098 </member> 1099 <member name="M:System.IO.StreamReader.DiscardBufferedData"> 1100 <summary>清除內部緩衝區。</summary> 1101 <filterpriority>2</filterpriority> 1102 </member> 1103 <member name="M:System.IO.StreamReader.Dispose(System.Boolean)"> 1104 <summary>關閉基礎資料流,接著釋放 <see cref="T:System.IO.StreamReader" /> 所使用的 Unmanaged 資源,然後再選擇性釋放 Managed 資源。</summary> 1105 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 1106 </member> 1107 <member name="P:System.IO.StreamReader.EndOfStream"> 1108 <summary>取得表示現行資料流位置是否在資料流結尾的值。</summary> 1109 <returns>如果現行資料流位置在資料流的結尾,則為 true;否則為 false。</returns> 1110 <exception cref="T:System.ObjectDisposedException">已處置基礎資料流。</exception> 1111 <filterpriority>1</filterpriority> 1112 </member> 1113 <member name="F:System.IO.StreamReader.Null"> 1114 <summary>空資料流周圍的 <see cref="T:System.IO.StreamReader" /> 物件。</summary> 1115 <filterpriority>1</filterpriority> 1116 </member> 1117 <member name="M:System.IO.StreamReader.Peek"> 1118 <summary>傳回下一個可供使用的字元,但不使用它。</summary> 1119 <returns>整數,表示要讀取的下一個字元,如果沒有要讀取的字元或資料流不支援搜尋,則為 -1。</returns> 1120 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1121 <filterpriority>1</filterpriority> 1122 </member> 1123 <member name="M:System.IO.StreamReader.Read"> 1124 <summary>自輸入資料流讀取下一個字元,並將字元位置前移一個字元。</summary> 1125 <returns>來自輸入資料流的下一個字元會以 <see cref="T:System.Int32" /> 物件來表示;如果不再有可以使用的字元,則以 -1 表示。</returns> 1126 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1127 <filterpriority>1</filterpriority> 1128 </member> 1129 <member name="M:System.IO.StreamReader.Read(System.Char[],System.Int32,System.Int32)"> 1130 <summary>從目前資料流讀取指定的字元數目上限,在指定的索引位置開始讀入緩衝區中。</summary> 1131 <returns>已讀取字元數,或為 0 (如果處於資料流末端而無資料讀取)。數目將小於或等於 <paramref name="count" /> 參數,取決於資料流內是否有資料可供使用。</returns> 1132 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index + count - 1" />) 的值之指定字元陣列,這個值是由從目前來源讀取的字元所取代。</param> 1133 <param name="index">要開始寫入的 <paramref name="buffer" /> 的索引。</param> 1134 <param name="count">要讀取的字元數上限。</param> 1135 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 1136 <exception cref="T:System.ArgumentNullException"> 1137 <paramref name="buffer" /> 為 null。</exception> 1138 <exception cref="T:System.ArgumentOutOfRangeException"> 1139 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1140 <exception cref="T:System.IO.IOException">發生 I/O 錯誤,例如資料流已經關閉。</exception> 1141 <filterpriority>1</filterpriority> 1142 </member> 1143 <member name="M:System.IO.StreamReader.ReadAsync(System.Char[],System.Int32,System.Int32)"> 1144 <summary>從目前的資料流非同步讀取指定的取大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1145 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達資料流末端,則可能為 0 (零)。</returns> 1146 <param name="buffer">當這個方法傳回時,會包含指定的字元陣列,而該字元陣列中具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之間的值,會由從目前來源讀取而來的字元取代。</param> 1147 <param name="index"> 1148 <paramref name="buffer" /> 中要開始寫入的位置。</param> 1149 <param name="count">要讀取的字元數上限。如果指定的字元數寫入緩衝區之前,便到達資料流末端,則目前的方法會傳回。</param> 1150 <exception cref="T:System.ArgumentNullException"> 1151 <paramref name="buffer" /> 為 null。</exception> 1152 <exception cref="T:System.ArgumentOutOfRangeException"> 1153 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1154 <exception cref="T:System.ArgumentException"> 1155 <paramref name="index" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1156 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 1157 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1158 </member> 1159 <member name="M:System.IO.StreamReader.ReadBlock(System.Char[],System.Int32,System.Int32)"> 1160 <summary>從目前資料流讀取指定的最大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1161 <returns>已經讀取的字元數目。數目將小於或等於 <paramref name="count" />,取決於是否已經讀取所有輸入字元。</returns> 1162 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index + count - 1" />) 的值之指定字元陣列,這個值是由從目前來源讀取的字元所取代。</param> 1163 <param name="index"> 1164 <paramref name="buffer" /> 中要開始寫入的位置。</param> 1165 <param name="count">要讀取的字元數上限。</param> 1166 <exception cref="T:System.ArgumentNullException"> 1167 <paramref name="buffer" /> 為 null。</exception> 1168 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 1169 <exception cref="T:System.ArgumentOutOfRangeException"> 1170 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1171 <exception cref="T:System.ObjectDisposedException"> 1172 <see cref="T:System.IO.StreamReader" /> 已經關閉。</exception> 1173 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1174 </member> 1175 <member name="M:System.IO.StreamReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)"> 1176 <summary>從目前的資料流非同步讀取指定的取大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1177 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達資料流末端,則可能為 0 (零)。</returns> 1178 <param name="buffer">當這個方法傳回時,會包含指定的字元陣列,而該字元陣列中具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之間的值,會由從目前來源讀取而來的字元取代。</param> 1179 <param name="index"> 1180 <paramref name="buffer" /> 中要開始寫入的位置。</param> 1181 <param name="count">要讀取的字元數上限。如果指定的字元數寫入緩衝區之前,便到達資料流末端,則方法會返回。</param> 1182 <exception cref="T:System.ArgumentNullException"> 1183 <paramref name="buffer" /> 為 null。</exception> 1184 <exception cref="T:System.ArgumentOutOfRangeException"> 1185 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1186 <exception cref="T:System.ArgumentException"> 1187 <paramref name="index" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1188 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 1189 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1190 </member> 1191 <member name="M:System.IO.StreamReader.ReadLine"> 1192 <summary>自目前資料流讀取一行字元,並將資料以字串傳回。</summary> 1193 <returns>輸入資料流的下一行,或為 null (如果已到達輸入資料流末端)。</returns> 1194 <exception cref="T:System.OutOfMemoryException">沒有足夠的記憶體來為傳回的字串配置緩衝區。</exception> 1195 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1196 <filterpriority>1</filterpriority> 1197 </member> 1198 <member name="M:System.IO.StreamReader.ReadLineAsync"> 1199 <summary>自目前資料流非同步讀取一行字元,並將資料以字串傳回。</summary> 1200 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含資料流中的下一行,或者是 null (如果已經讀取所有字元)。</returns> 1201 <exception cref="T:System.ArgumentOutOfRangeException">下一行中的字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1202 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 1203 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1204 </member> 1205 <member name="M:System.IO.StreamReader.ReadToEnd"> 1206 <summary>讀取從目前位置到資料流末端的所有字元。</summary> 1207 <returns>資料流從目前位置到末端的其餘字串。如果目前位置位於資料流末端,則傳回空字串 ("")。</returns> 1208 <exception cref="T:System.OutOfMemoryException">沒有足夠的記憶體來為傳回的字串配置緩衝區。</exception> 1209 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1210 <filterpriority>1</filterpriority> 1211 </member> 1212 <member name="M:System.IO.StreamReader.ReadToEndAsync"> 1213 <summary>非同步讀取從目前位置到資料流末端的所有字元,並將它們以字串傳回。</summary> 1214 <returns>表示非同步讀取作業的工作。<paramref name="TResult" /> 參數的值會包含字串,該字串含有從目前位置到資料流結尾的字元。</returns> 1215 <exception cref="T:System.ArgumentOutOfRangeException">字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1216 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 1217 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1218 </member> 1219 <member name="T:System.IO.StreamWriter"> 1220 <summary>實作以特定的編碼方式將字元寫入位元組資料流的 <see cref="T:System.IO.TextWriter" />。若要瀏覽此類型的.NET Framework 原始碼,請參閱參考來源。</summary> 1221 <filterpriority>1</filterpriority> 1222 </member> 1223 <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream)"> 1224 <summary>使用 UTF-8 編碼方式和預設緩衝區大小,為指定的資料流初始化 <see cref="T:System.IO.StreamWriter" /> 類別的新執行個體。</summary> 1225 <param name="stream">要寫入的資料流。 </param> 1226 <exception cref="T:System.ArgumentException"> 1227 <paramref name="stream" /> 不可寫入。 </exception> 1228 <exception cref="T:System.ArgumentNullException"> 1229 <paramref name="stream" /> 為 null。</exception> 1230 </member> 1231 <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream,System.Text.Encoding)"> 1232 <summary>使用指定的編碼方式和預設緩衝區大小,為指定的資料流初始化 <see cref="T:System.IO.StreamWriter" /> 類別的新執行個體。</summary> 1233 <param name="stream">要寫入的資料流。</param> 1234 <param name="encoding">要使用的字元編碼。 </param> 1235 <exception cref="T:System.ArgumentNullException"> 1236 <paramref name="stream" /> 或 <paramref name="encoding" /> 是 null。 </exception> 1237 <exception cref="T:System.ArgumentException"> 1238 <paramref name="stream" /> 不可寫入。</exception> 1239 </member> 1240 <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream,System.Text.Encoding,System.Int32)"> 1241 <summary>使用指定的編碼方式和緩衝區大小,為指定的資料流初始化 <see cref="T:System.IO.StreamWriter" /> 類別的新執行個體。</summary> 1242 <param name="stream">要寫入的資料流。</param> 1243 <param name="encoding">要使用的字元編碼。</param> 1244 <param name="bufferSize">緩衝區大小,以位元組為單位。 </param> 1245 <exception cref="T:System.ArgumentNullException"> 1246 <paramref name="stream" /> 或 <paramref name="encoding" /> 是 null。 </exception> 1247 <exception cref="T:System.ArgumentOutOfRangeException"> 1248 <paramref name="bufferSize" /> 為負值。 </exception> 1249 <exception cref="T:System.ArgumentException"> 1250 <paramref name="stream" /> 不可寫入。</exception> 1251 </member> 1252 <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream,System.Text.Encoding,System.Int32,System.Boolean)"> 1253 <summary>使用指定的編碼方式和緩衝區大小,為指定的資料流初始化 <see cref="T:System.IO.StreamWriter" /> 類別的新執行個體,並選擇性讓資料流保持開啟。</summary> 1254 <param name="stream">要寫入的資料流。</param> 1255 <param name="encoding">要使用的字元編碼。</param> 1256 <param name="bufferSize">緩衝區大小,以位元組為單位。</param> 1257 <param name="leaveOpen">true 表示在處置 <see cref="T:System.IO.StreamWriter" /> 物件之後,將資料流保持開啟,否則為 false。</param> 1258 <exception cref="T:System.ArgumentNullException"> 1259 <paramref name="stream" /> 或 <paramref name="encoding" /> 是 null。 </exception> 1260 <exception cref="T:System.ArgumentOutOfRangeException"> 1261 <paramref name="bufferSize" /> 為負值。 </exception> 1262 <exception cref="T:System.ArgumentException"> 1263 <paramref name="stream" /> 不可寫入。</exception> 1264 </member> 1265 <member name="P:System.IO.StreamWriter.AutoFlush"> 1266 <summary>取得或設定值,指出 <see cref="T:System.IO.StreamWriter" /> 在每次呼叫 <see cref="M:System.IO.StreamWriter.Write(System.Char)" /> 之後,是否要將其緩衝區清除到基礎資料流。</summary> 1267 <returns>強制 <see cref="T:System.IO.StreamWriter" /> 清除其緩衝區,則為 true,否則為 false。</returns> 1268 <filterpriority>1</filterpriority> 1269 </member> 1270 <member name="P:System.IO.StreamWriter.BaseStream"> 1271 <summary>取得以備份存放區作介面的基礎資料流。</summary> 1272 <returns>StreamWriter 正在寫入的資料流。</returns> 1273 <filterpriority>2</filterpriority> 1274 </member> 1275 <member name="M:System.IO.StreamWriter.Dispose(System.Boolean)"> 1276 <summary>釋放 <see cref="T:System.IO.StreamWriter" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary> 1277 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 1278 <exception cref="T:System.Text.EncoderFallbackException">目前的編碼不支援顯示 Unicode Surrogate 字組的其中一半。</exception> 1279 </member> 1280 <member name="P:System.IO.StreamWriter.Encoding"> 1281 <summary>取得寫入輸出的 <see cref="T:System.Text.Encoding" />。</summary> 1282 <returns> 1283 <see cref="T:System.Text.Encoding" /> (在目前執行個體的建構函式中指定);如果未指定編碼方式,則為 <see cref="T:System.Text.UTF8Encoding" />。</returns> 1284 <filterpriority>2</filterpriority> 1285 </member> 1286 <member name="M:System.IO.StreamWriter.Flush"> 1287 <summary>清除目前寫入器 (Writer) 的所有緩衝區,並且造成所有緩衝資料都寫入基礎資料流。</summary> 1288 <exception cref="T:System.ObjectDisposedException">目前寫入器已關閉。</exception> 1289 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1290 <exception cref="T:System.Text.EncoderFallbackException">目前的編碼不支援顯示 Unicode Surrogate 字組的其中一半。</exception> 1291 <filterpriority>1</filterpriority> 1292 </member> 1293 <member name="M:System.IO.StreamWriter.FlushAsync"> 1294 <summary>以非同步的方式清除這個資料流的所有緩衝區,並造成所有緩衝資料都寫入基礎裝置。</summary> 1295 <returns>表示非同步清除作業的工作。</returns> 1296 <exception cref="T:System.ObjectDisposedException">已處置資料流。</exception> 1297 </member> 1298 <member name="F:System.IO.StreamWriter.Null"> 1299 <summary>提供 StreamWriter,但不包含可寫入但無法讀取的備份存放區。</summary> 1300 <filterpriority>1</filterpriority> 1301 </member> 1302 <member name="M:System.IO.StreamWriter.Write(System.Char)"> 1303 <summary>將一個字元寫入資料流。</summary> 1304 <param name="value">要寫入資料流的字元。</param> 1305 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。 </exception> 1306 <exception cref="T:System.ObjectDisposedException"> 1307 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且目前的寫入器已經關閉。 </exception> 1308 <exception cref="T:System.NotSupportedException"> 1309 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且因為 <see cref="T:System.IO.StreamWriter" /> 是在資料流緩衝區的結尾,所以該緩衝區的內容無法寫入至基礎的固定大小資料流。</exception> 1310 <filterpriority>1</filterpriority> 1311 </member> 1312 <member name="M:System.IO.StreamWriter.Write(System.Char[])"> 1313 <summary>將字元陣列寫入資料流。</summary> 1314 <param name="buffer">含有要寫入之資料的字元陣列。如果 <paramref name="buffer" /> 是 null,則不寫入任何資料。</param> 1315 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。 </exception> 1316 <exception cref="T:System.ObjectDisposedException"> 1317 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且目前的寫入器已經關閉。 </exception> 1318 <exception cref="T:System.NotSupportedException"> 1319 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且因為 <see cref="T:System.IO.StreamWriter" /> 是在資料流緩衝區的結尾,所以該緩衝區的內容無法寫入至基礎的固定大小資料流。</exception> 1320 <filterpriority>1</filterpriority> 1321 </member> 1322 <member name="M:System.IO.StreamWriter.Write(System.Char[],System.Int32,System.Int32)"> 1323 <summary>將字元子陣列寫入資料流。</summary> 1324 <param name="buffer">含有要寫入之資料的字元陣列。</param> 1325 <param name="index">緩衝區中要開始讀取資料的字元位置。</param> 1326 <param name="count">要寫入的最大字元數。 </param> 1327 <exception cref="T:System.ArgumentNullException"> 1328 <paramref name="buffer" /> 為 null。</exception> 1329 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。 </exception> 1330 <exception cref="T:System.ArgumentOutOfRangeException"> 1331 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1332 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。 </exception> 1333 <exception cref="T:System.ObjectDisposedException"> 1334 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且目前的寫入器已經關閉。 </exception> 1335 <exception cref="T:System.NotSupportedException"> 1336 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且因為 <see cref="T:System.IO.StreamWriter" /> 是在資料流緩衝區的結尾,所以該緩衝區的內容無法寫入至基礎的固定大小資料流。</exception> 1337 <filterpriority>1</filterpriority> 1338 </member> 1339 <member name="M:System.IO.StreamWriter.Write(System.String)"> 1340 <summary>將字串寫入資料流。</summary> 1341 <param name="value">要寫入資料流的字串。如果 <paramref name="value" /> 是 Null,則不會寫入任何資料。</param> 1342 <exception cref="T:System.ObjectDisposedException"> 1343 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且目前的寫入器已經關閉。 </exception> 1344 <exception cref="T:System.NotSupportedException"> 1345 <see cref="P:System.IO.StreamWriter.AutoFlush" /> 為 True,或 <see cref="T:System.IO.StreamWriter" /> 緩衝區已滿,且因為 <see cref="T:System.IO.StreamWriter" /> 是在資料流緩衝區的結尾,所以該緩衝區的內容無法寫入至基礎的固定大小資料流。</exception> 1346 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1347 <filterpriority>1</filterpriority> 1348 </member> 1349 <member name="M:System.IO.StreamWriter.WriteAsync(System.Char)"> 1350 <summary>以非同步方式將字元寫入資料流。</summary> 1351 <returns>表示非同步寫入作業的工作。</returns> 1352 <param name="value">要寫入資料流的字元。</param> 1353 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1354 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1355 </member> 1356 <member name="M:System.IO.StreamWriter.WriteAsync(System.Char[],System.Int32,System.Int32)"> 1357 <summary>以非同步方式將字元的子陣列寫入資料流。</summary> 1358 <returns>表示非同步寫入作業的工作。</returns> 1359 <param name="buffer">含有要寫入之資料的字元陣列。</param> 1360 <param name="index">緩衝區中要開始讀取資料的字元位置。</param> 1361 <param name="count">要寫入的最大字元數。</param> 1362 <exception cref="T:System.ArgumentNullException"> 1363 <paramref name="buffer" /> 為 null。</exception> 1364 <exception cref="T:System.ArgumentException"> 1365 <paramref name="index" /> 加上 <paramref name="count" /> 大於緩衝區的長度。</exception> 1366 <exception cref="T:System.ArgumentOutOfRangeException"> 1367 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1368 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1369 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1370 </member> 1371 <member name="M:System.IO.StreamWriter.WriteAsync(System.String)"> 1372 <summary>以非同步方式將字串寫入資料流。</summary> 1373 <returns>表示非同步寫入作業的工作。</returns> 1374 <param name="value">要寫入資料流的字串。如果 <paramref name="value" /> 是 null,則不寫入任何資料。</param> 1375 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1376 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1377 </member> 1378 <member name="M:System.IO.StreamWriter.WriteLineAsync"> 1379 <summary>將行結束字元以非同步方式寫入資料流。</summary> 1380 <returns>表示非同步寫入作業的工作。</returns> 1381 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1382 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1383 </member> 1384 <member name="M:System.IO.StreamWriter.WriteLineAsync(System.Char)"> 1385 <summary>以非同步方式將一個字元 (其後加上行結束字元) 寫入資料流。</summary> 1386 <returns>表示非同步寫入作業的工作。</returns> 1387 <param name="value">要寫入資料流的字元。</param> 1388 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1389 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1390 </member> 1391 <member name="M:System.IO.StreamWriter.WriteLineAsync(System.Char[],System.Int32,System.Int32)"> 1392 <summary>以非同步方式將字元子陣列 (其後加上行結束字元) 寫入資料流。</summary> 1393 <returns>表示非同步寫入作業的工作。</returns> 1394 <param name="buffer">資料寫入來源的字元陣列。</param> 1395 <param name="index">緩衝區中要開始讀取資料的字元位置。</param> 1396 <param name="count">要寫入的最大字元數。</param> 1397 <exception cref="T:System.ArgumentNullException"> 1398 <paramref name="buffer" /> 為 null。</exception> 1399 <exception cref="T:System.ArgumentException"> 1400 <paramref name="index" /> 加上 <paramref name="count" /> 大於緩衝區的長度。</exception> 1401 <exception cref="T:System.ArgumentOutOfRangeException"> 1402 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1403 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1404 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1405 </member> 1406 <member name="M:System.IO.StreamWriter.WriteLineAsync(System.String)"> 1407 <summary>以非同步方式將字串 (後面接著行結束字元) 寫入資料流。</summary> 1408 <returns>表示非同步寫入作業的工作。</returns> 1409 <param name="value">要寫入的字串。如果值為 null,則只會寫入行結束字元 (Terminator)。</param> 1410 <exception cref="T:System.ObjectDisposedException">資料流寫入器已處置。</exception> 1411 <exception cref="T:System.InvalidOperationException">資料流寫入器目前由先前寫入作業所使用。</exception> 1412 </member> 1413 <member name="T:System.IO.StringReader"> 1414 <summary>實作讀取字串的 <see cref="T:System.IO.TextReader" />。</summary> 1415 <filterpriority>2</filterpriority> 1416 </member> 1417 <member name="M:System.IO.StringReader.#ctor(System.String)"> 1418 <summary>初始化 <see cref="T:System.IO.StringReader" /> 類別的新執行個體,這個執行個體會從指定的字串讀取。</summary> 1419 <param name="s"> 1420 <see cref="T:System.IO.StringReader" /> 應該初始化的目的字串。</param> 1421 <exception cref="T:System.ArgumentNullException"> 1422 <paramref name="s" /> 參數為 null。</exception> 1423 </member> 1424 <member name="M:System.IO.StringReader.Dispose(System.Boolean)"> 1425 <summary>釋放 <see cref="T:System.IO.StringReader" /> 使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary> 1426 <param name="disposing">true 表示會同時釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 1427 </member> 1428 <member name="M:System.IO.StringReader.Peek"> 1429 <summary>傳回下一個可供使用的字元,但不使用它。</summary> 1430 <returns>整數,表示要讀取的下一個字元,如果沒有更多字元可供使用或資料流不支援搜尋,則為 -1。</returns> 1431 <exception cref="T:System.ObjectDisposedException">目前的讀取器已關閉。</exception> 1432 <filterpriority>2</filterpriority> 1433 </member> 1434 <member name="M:System.IO.StringReader.Read"> 1435 <summary>自輸入字串讀取下一個字元,並將字元位置前移一個字元。</summary> 1436 <returns>基礎字串的下一個字元;如果不再有字元可供使用,則為 -1。</returns> 1437 <exception cref="T:System.ObjectDisposedException">目前的讀取器已關閉。</exception> 1438 <filterpriority>2</filterpriority> 1439 </member> 1440 <member name="M:System.IO.StringReader.Read(System.Char[],System.Int32,System.Int32)"> 1441 <summary>自輸入字串讀取字元區塊,並將字元位置前移 <paramref name="count" /> 個字元。</summary> 1442 <returns>讀入緩衝區的字元總數。如果目前無法提供那麼多的字元數,則這個數目可能小於所要求的字元數,或如果已經到達基礎字串的末端,則為零。</returns> 1443 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1444 <param name="index">緩衝區中的起始索引。</param> 1445 <param name="count">要讀取的字元數。</param> 1446 <exception cref="T:System.ArgumentNullException"> 1447 <paramref name="buffer" /> 為 null。</exception> 1448 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 1449 <exception cref="T:System.ArgumentOutOfRangeException"> 1450 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 1451 <exception cref="T:System.ObjectDisposedException">目前的讀取器已關閉。</exception> 1452 <filterpriority>2</filterpriority> 1453 </member> 1454 <member name="M:System.IO.StringReader.ReadAsync(System.Char[],System.Int32,System.Int32)"> 1455 <summary>從目前的字串非同步讀取指定的取大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1456 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達字串末端,則可能為 0(零)。</returns> 1457 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1458 <param name="index"> 1459 <paramref name="buffer" /> 中要開始寫入處的位置。</param> 1460 <param name="count">要讀取的最大字元數。如果指定的字元數寫入緩衝區之前,便到達字串末端,則方法會返回。</param> 1461 <exception cref="T:System.ArgumentNullException"> 1462 <paramref name="buffer" /> 為 null。</exception> 1463 <exception cref="T:System.ArgumentOutOfRangeException"> 1464 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 1465 <exception cref="T:System.ArgumentException"> 1466 <paramref name="index" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1467 <exception cref="T:System.ObjectDisposedException">字串讀取器已處置。</exception> 1468 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1469 </member> 1470 <member name="M:System.IO.StringReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)"> 1471 <summary>從目前的字串非同步讀取指定的取大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1472 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達字串末端,則可能為 0(零)。</returns> 1473 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1474 <param name="index"> 1475 <paramref name="buffer" /> 中要開始寫入處的位置。</param> 1476 <param name="count">要讀取的最大字元數。如果指定的字元數寫入緩衝區之前,便到達字串末端,則方法會返回。</param> 1477 <exception cref="T:System.ArgumentNullException"> 1478 <paramref name="buffer" /> 為 null。</exception> 1479 <exception cref="T:System.ArgumentOutOfRangeException"> 1480 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 1481 <exception cref="T:System.ArgumentException"> 1482 <paramref name="index" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1483 <exception cref="T:System.ObjectDisposedException">字串讀取器已處置。</exception> 1484 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1485 </member> 1486 <member name="M:System.IO.StringReader.ReadLine"> 1487 <summary>自目前字串讀取一行字元,並將資料以字串傳回。</summary> 1488 <returns>目前字串的下一行,如果已到達字串的結尾,則為 null。</returns> 1489 <exception cref="T:System.ObjectDisposedException">目前的讀取器已關閉。</exception> 1490 <exception cref="T:System.OutOfMemoryException">沒有足夠的記憶體來為傳回的字串配置緩衝區。</exception> 1491 <filterpriority>2</filterpriority> 1492 </member> 1493 <member name="M:System.IO.StringReader.ReadLineAsync"> 1494 <summary>自目前字串非同步讀取一行字元,並將資料以字串傳回。</summary> 1495 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含字串讀取器中的下一行,或者是null(如果已經讀取所有字元)。</returns> 1496 <exception cref="T:System.ArgumentOutOfRangeException">下一行中的字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1497 <exception cref="T:System.ObjectDisposedException">字串讀取器已處置。</exception> 1498 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1499 </member> 1500 <member name="M:System.IO.StringReader.ReadToEnd"> 1501 <summary>讀取從目前位置到字串末端的所有字元,並將它們以單一字串傳回。</summary> 1502 <returns>基礎字串從目前位置至結尾的內容。</returns> 1503 <exception cref="T:System.OutOfMemoryException">沒有足夠的記憶體來為傳回的字串配置緩衝區。</exception> 1504 <exception cref="T:System.ObjectDisposedException">目前的讀取器已關閉。</exception> 1505 <filterpriority>2</filterpriority> 1506 </member> 1507 <member name="M:System.IO.StringReader.ReadToEndAsync"> 1508 <summary>非同步讀取從目前位置到字串末端的所有字元,並將它們以單一字串傳回。</summary> 1509 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含字串,該字串含有從目前位置到字串結尾的字元。</returns> 1510 <exception cref="T:System.ArgumentOutOfRangeException">字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1511 <exception cref="T:System.ObjectDisposedException">字串讀取器已處置。</exception> 1512 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1513 </member> 1514 <member name="T:System.IO.StringWriter"> 1515 <summary>實作 <see cref="T:System.IO.TextWriter" /> 以便將資訊寫入字串。資訊儲存在基礎 <see cref="T:System.Text.StringBuilder" /> 中。</summary> 1516 <filterpriority>2</filterpriority> 1517 </member> 1518 <member name="M:System.IO.StringWriter.#ctor"> 1519 <summary>初始化 <see cref="T:System.IO.StringWriter" /> 類別的新執行個體。</summary> 1520 </member> 1521 <member name="M:System.IO.StringWriter.#ctor(System.IFormatProvider)"> 1522 <summary>使用指定的控制項格式,初始化 <see cref="T:System.IO.StringWriter" /> 類別的新執行個體。</summary> 1523 <param name="formatProvider">控制格式的 <see cref="T:System.IFormatProvider" /> 物件。</param> 1524 </member> 1525 <member name="M:System.IO.StringWriter.#ctor(System.Text.StringBuilder)"> 1526 <summary>初始化 <see cref="T:System.IO.StringWriter" /> 類別的新執行個體,這個執行個體可寫入至指定的 <see cref="T:System.Text.StringBuilder" />。</summary> 1527 <param name="sb">要寫入至其中的 StringBuilder。</param> 1528 <exception cref="T:System.ArgumentNullException"> 1529 <paramref name="sb" /> 為 null。</exception> 1530 </member> 1531 <member name="M:System.IO.StringWriter.#ctor(System.Text.StringBuilder,System.IFormatProvider)"> 1532 <summary>初始化 <see cref="T:System.IO.StringWriter" /> 類別的新執行個體,這個執行個體會寫入至指定的 <see cref="T:System.Text.StringBuilder" />,並且具有指定的格式提供者。</summary> 1533 <param name="sb">要寫入至其中的 StringBuilder。</param> 1534 <param name="formatProvider">控制格式的 <see cref="T:System.IFormatProvider" /> 物件。</param> 1535 <exception cref="T:System.ArgumentNullException"> 1536 <paramref name="sb" /> 為 null。</exception> 1537 </member> 1538 <member name="M:System.IO.StringWriter.Dispose(System.Boolean)"> 1539 <summary>釋放 <see cref="T:System.IO.StringWriter" /> 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。</summary> 1540 <param name="disposing">true 表示會同時釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 1541 </member> 1542 <member name="P:System.IO.StringWriter.Encoding"> 1543 <summary>取得寫入輸出的 <see cref="T:System.Text.Encoding" />。</summary> 1544 <returns>寫入輸出的 Encoding。</returns> 1545 <filterpriority>1</filterpriority> 1546 </member> 1547 <member name="M:System.IO.StringWriter.FlushAsync"> 1548 <summary>以非同步的方式清除目前寫入器 (Writer) 的所有緩衝區,並造成任何緩衝資料都寫入基礎裝置。</summary> 1549 <returns>表示非同步清除作業的工作。</returns> 1550 </member> 1551 <member name="M:System.IO.StringWriter.GetStringBuilder"> 1552 <summary>傳回基礎 <see cref="T:System.Text.StringBuilder" />。</summary> 1553 <returns>基礎 StringBuilder。</returns> 1554 <filterpriority>2</filterpriority> 1555 </member> 1556 <member name="M:System.IO.StringWriter.ToString"> 1557 <summary>傳回字串,包含被寫入至目前 StringWriter 的字元。</summary> 1558 <returns>字串,包含被寫入至目前 StringWriter 的字元。</returns> 1559 <filterpriority>2</filterpriority> 1560 </member> 1561 <member name="M:System.IO.StringWriter.Write(System.Char)"> 1562 <summary>將一個字元寫入至字串。</summary> 1563 <param name="value">要寫入的字元。</param> 1564 <exception cref="T:System.ObjectDisposedException">寫入器關閉。</exception> 1565 <filterpriority>2</filterpriority> 1566 </member> 1567 <member name="M:System.IO.StringWriter.Write(System.Char[],System.Int32,System.Int32)"> 1568 <summary>將字元子陣列寫入至字串。</summary> 1569 <param name="buffer">資料寫入來源的字元陣列。</param> 1570 <param name="index">緩衝區中要開始讀取資料的位置。</param> 1571 <param name="count">要寫入的最大字元數。</param> 1572 <exception cref="T:System.ArgumentNullException"> 1573 <paramref name="buffer" /> 為 null。</exception> 1574 <exception cref="T:System.ArgumentOutOfRangeException"> 1575 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 1576 <exception cref="T:System.ArgumentException">(<paramref name="index" /> + <paramref name="count" />)> <paramref name="buffer" />。Length.</exception> 1577 <exception cref="T:System.ObjectDisposedException">寫入器關閉。</exception> 1578 <filterpriority>2</filterpriority> 1579 </member> 1580 <member name="M:System.IO.StringWriter.Write(System.String)"> 1581 <summary>將字串寫入至目前字串。</summary> 1582 <param name="value">要寫入的字串。</param> 1583 <exception cref="T:System.ObjectDisposedException">寫入器關閉。</exception> 1584 <filterpriority>2</filterpriority> 1585 </member> 1586 <member name="M:System.IO.StringWriter.WriteAsync(System.Char)"> 1587 <summary>以非同步方式將字元寫入至字串。</summary> 1588 <returns>表示非同步寫入作業的工作。</returns> 1589 <param name="value">要寫入至字串的字元。</param> 1590 <exception cref="T:System.ObjectDisposedException">字串寫入器已處置。</exception> 1591 <exception cref="T:System.InvalidOperationException">字串寫入器目前由先前寫入作業所使用。</exception> 1592 </member> 1593 <member name="M:System.IO.StringWriter.WriteAsync(System.Char[],System.Int32,System.Int32)"> 1594 <summary>以非同步方式將字元的子陣列寫入至字串。</summary> 1595 <returns>表示非同步寫入作業的工作。</returns> 1596 <param name="buffer">資料寫入來源的字元陣列。</param> 1597 <param name="index">緩衝區中要開始讀取資料的位置。</param> 1598 <param name="count">要寫入的最大字元數。</param> 1599 <exception cref="T:System.ArgumentNullException"> 1600 <paramref name="buffer" /> 為 null。</exception> 1601 <exception cref="T:System.ArgumentException"> 1602 <paramref name="index" /> 加上 <paramref name="count" /> 大於緩衝區的長度。</exception> 1603 <exception cref="T:System.ArgumentOutOfRangeException"> 1604 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 1605 <exception cref="T:System.ObjectDisposedException">字串寫入器已處置。</exception> 1606 <exception cref="T:System.InvalidOperationException">字串寫入器目前由先前寫入作業所使用。</exception> 1607 </member> 1608 <member name="M:System.IO.StringWriter.WriteAsync(System.String)"> 1609 <summary>以非同步方式將字串寫入至目前字串。</summary> 1610 <returns>表示非同步寫入作業的工作。</returns> 1611 <param name="value">要寫入的字串。如果 <paramref name="value" /> 為 null,不寫入任何字串至文字資料流。</param> 1612 <exception cref="T:System.ObjectDisposedException">字串寫入器已處置。</exception> 1613 <exception cref="T:System.InvalidOperationException">字串寫入器目前由先前寫入作業所使用。</exception> 1614 </member> 1615 <member name="M:System.IO.StringWriter.WriteLineAsync(System.Char)"> 1616 <summary>以非同步方式將一個字元 (其後加上行結束字元) 寫入到字串。</summary> 1617 <returns>表示非同步寫入作業的工作。</returns> 1618 <param name="value">要寫入至字串的字元。</param> 1619 <exception cref="T:System.ObjectDisposedException">字串寫入器已處置。</exception> 1620 <exception cref="T:System.InvalidOperationException">字串寫入器目前由先前寫入作業所使用。</exception> 1621 </member> 1622 <member name="M:System.IO.StringWriter.WriteLineAsync(System.Char[],System.Int32,System.Int32)"> 1623 <summary>以非同步方式將字元子陣列 (其後加上行結束字元) 寫入到字串。</summary> 1624 <returns>表示非同步寫入作業的工作。</returns> 1625 <param name="buffer">資料寫入來源的字元陣列。</param> 1626 <param name="index">緩衝區中要開始讀取資料的位置。</param> 1627 <param name="count">要寫入的最大字元數。</param> 1628 <exception cref="T:System.ArgumentNullException"> 1629 <paramref name="buffer" /> 為 null。</exception> 1630 <exception cref="T:System.ArgumentException"> 1631 <paramref name="index" /> 加上 <paramref name="count" /> 大於緩衝區的長度。</exception> 1632 <exception cref="T:System.ArgumentOutOfRangeException"> 1633 <paramref name="index" /> 或 <paramref name="count" /> 為負數。</exception> 1634 <exception cref="T:System.ObjectDisposedException">字串寫入器已處置。</exception> 1635 <exception cref="T:System.InvalidOperationException">字串寫入器目前由先前寫入作業所使用。</exception> 1636 </member> 1637 <member name="M:System.IO.StringWriter.WriteLineAsync(System.String)"> 1638 <summary>以非同步方式將字串 (後面接著行結束字元) 寫入至目前的字串。</summary> 1639 <returns>表示非同步寫入作業的工作。</returns> 1640 <param name="value">要寫入的字串。如果值為 null,則只會寫入行結束字元 (Terminator)。</param> 1641 <exception cref="T:System.ObjectDisposedException">字串寫入器已處置。</exception> 1642 <exception cref="T:System.InvalidOperationException">字串寫入器目前由先前寫入作業所使用。</exception> 1643 </member> 1644 <member name="T:System.IO.TextReader"> 1645 <summary>代表可以讀取一連串連續字元的讀取器 (Reader)。</summary> 1646 <filterpriority>2</filterpriority> 1647 </member> 1648 <member name="M:System.IO.TextReader.#ctor"> 1649 <summary>初始化 <see cref="T:System.IO.TextReader" /> 類別的新執行個體。</summary> 1650 </member> 1651 <member name="M:System.IO.TextReader.Dispose"> 1652 <summary>釋放由 <see cref="T:System.IO.TextReader" /> 物件使用的所有資源。</summary> 1653 </member> 1654 <member name="M:System.IO.TextReader.Dispose(System.Boolean)"> 1655 <summary>釋放 <see cref="T:System.IO.TextReader" /> 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。</summary> 1656 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 1657 </member> 1658 <member name="F:System.IO.TextReader.Null"> 1659 <summary>提供未讀取資料的 TextReader。</summary> 1660 <filterpriority>1</filterpriority> 1661 </member> 1662 <member name="M:System.IO.TextReader.Peek"> 1663 <summary>讀取下一個字元,而不會變更讀取器或字元來源的狀態。傳回下一個可用字元,而不會實際從讀取器讀取。</summary> 1664 <returns>整數,表示要讀取的下一個字元,如果沒有更多字元可供使用或讀取器不支援搜尋,則為 -1。</returns> 1665 <exception cref="T:System.ObjectDisposedException"> 1666 <see cref="T:System.IO.TextReader" /> 已經關閉。</exception> 1667 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1668 <filterpriority>1</filterpriority> 1669 </member> 1670 <member name="M:System.IO.TextReader.Read"> 1671 <summary>自文字讀取器讀取下一個字元,並將字元位置前移一個字元。</summary> 1672 <returns>文字讀取器的下一個字元;如果不再有字元可供使用,則為 -1。預設的實作會傳回 -1。</returns> 1673 <exception cref="T:System.ObjectDisposedException"> 1674 <see cref="T:System.IO.TextReader" /> 已經關閉。</exception> 1675 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1676 <filterpriority>1</filterpriority> 1677 </member> 1678 <member name="M:System.IO.TextReader.Read(System.Char[],System.Int32,System.Int32)"> 1679 <summary>從目前讀取器讀取指定的最大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1680 <returns>已經讀取的字元數目。數目將小於或等於 <paramref name="count" />,取決於資料是否在讀取器裡可供使用。如果不再有字元可供讀取時呼叫,這個方法傳回 0 (零)。</returns> 1681 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1682 <param name="index"> 1683 <paramref name="buffer" /> 中要開始寫入處的位置。</param> 1684 <param name="count">要讀取的字元數上限。如果指定的字元數讀入緩衝區之前,便到達讀取器末端,則方法會返回。</param> 1685 <exception cref="T:System.ArgumentNullException"> 1686 <paramref name="buffer" /> 為 null。</exception> 1687 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。 </exception> 1688 <exception cref="T:System.ArgumentOutOfRangeException"> 1689 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1690 <exception cref="T:System.ObjectDisposedException"> 1691 <see cref="T:System.IO.TextReader" /> 已經關閉。</exception> 1692 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1693 <filterpriority>1</filterpriority> 1694 </member> 1695 <member name="M:System.IO.TextReader.ReadAsync(System.Char[],System.Int32,System.Int32)"> 1696 <summary>從目前的文字讀取器非同步讀取指定的最大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1697 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達文字末端,則可能為 0(零)。</returns> 1698 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1699 <param name="index"> 1700 <paramref name="buffer" /> 中要開始寫入處的位置。</param> 1701 <param name="count">要讀取的字元數上限。如果指定的字元數讀入緩衝區之前,便到達文字末端,則目前的方法會傳回。</param> 1702 <exception cref="T:System.ArgumentNullException"> 1703 <paramref name="buffer" /> 為 null。</exception> 1704 <exception cref="T:System.ArgumentOutOfRangeException"> 1705 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1706 <exception cref="T:System.ArgumentException"> 1707 <paramref name="index" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1708 <exception cref="T:System.ObjectDisposedException">文字讀取器已處置。</exception> 1709 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1710 </member> 1711 <member name="M:System.IO.TextReader.ReadBlock(System.Char[],System.Int32,System.Int32)"> 1712 <summary>從目前的文字讀取器讀取指定的最大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1713 <returns>已經讀取的字元數目。數目將小於或等於 <paramref name="count" />,取決於是否已經讀取所有輸入字元。</returns> 1714 <param name="buffer">當這個方法返回時,這個參數會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> -1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1715 <param name="index"> 1716 <paramref name="buffer" /> 中要開始寫入處的位置。</param> 1717 <param name="count">要讀取的字元數上限。</param> 1718 <exception cref="T:System.ArgumentNullException"> 1719 <paramref name="buffer" /> 為 null。</exception> 1720 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。 </exception> 1721 <exception cref="T:System.ArgumentOutOfRangeException"> 1722 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1723 <exception cref="T:System.ObjectDisposedException"> 1724 <see cref="T:System.IO.TextReader" /> 已經關閉。</exception> 1725 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1726 <filterpriority>2</filterpriority> 1727 </member> 1728 <member name="M:System.IO.TextReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)"> 1729 <summary>從目前的文字讀取器非同步讀取指定的最大字元數目,並從指定的索引開始將資料寫入緩衝區。</summary> 1730 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含讀取至緩衝區的位元組總數。如果目前可供使用的位元組數目少於所要求的數目,結果值可能會小於所要求的位元組數目,或者如果已經到達文字末端,則可能為 0(零)。</returns> 1731 <param name="buffer">當這個方法返回時,會包含具有介於 <paramref name="index" /> 和 (<paramref name="index" /> + <paramref name="count" /> - 1) 之值的指定字元陣列,該值是由讀取自目前來源的字元所取代。</param> 1732 <param name="index"> 1733 <paramref name="buffer" /> 中要開始寫入處的位置。</param> 1734 <param name="count">要讀取的字元數上限。如果指定的字元數讀入緩衝區之前,便到達文字末端,則目前的方法會傳回。</param> 1735 <exception cref="T:System.ArgumentNullException"> 1736 <paramref name="buffer" /> 為 null。</exception> 1737 <exception cref="T:System.ArgumentOutOfRangeException"> 1738 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1739 <exception cref="T:System.ArgumentException"> 1740 <paramref name="index" /> 和 <paramref name="count" /> 的總和大於緩衝區的長度。</exception> 1741 <exception cref="T:System.ObjectDisposedException">文字讀取器已處置。</exception> 1742 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1743 </member> 1744 <member name="M:System.IO.TextReader.ReadLine"> 1745 <summary>自文字讀取器讀取一行字元,並將資料以字串傳回。</summary> 1746 <returns>讀取器的下一行,或者如果所有字元都被讀取,則為 null。</returns> 1747 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1748 <exception cref="T:System.OutOfMemoryException">沒有足夠的記憶體來為傳回的字串配置緩衝區。</exception> 1749 <exception cref="T:System.ObjectDisposedException"> 1750 <see cref="T:System.IO.TextReader" /> 已經關閉。</exception> 1751 <exception cref="T:System.ArgumentOutOfRangeException">下一行中的字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1752 <filterpriority>1</filterpriority> 1753 </member> 1754 <member name="M:System.IO.TextReader.ReadLineAsync"> 1755 <summary>非同步讀取一行字元,並將資料以字串傳回。</summary> 1756 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含文字讀取器中的下一行,或者是null(如果已經讀取所有字元)。</returns> 1757 <exception cref="T:System.ArgumentOutOfRangeException">下一行中的字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1758 <exception cref="T:System.ObjectDisposedException">文字讀取器已處置。</exception> 1759 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1760 </member> 1761 <member name="M:System.IO.TextReader.ReadToEnd"> 1762 <summary>讀取從目前位置到文字讀取器末端的所有字元,並將它們以單一字串傳回。</summary> 1763 <returns>字串,包含從目前位置到文字讀取器結尾的所有字元。</returns> 1764 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1765 <exception cref="T:System.ObjectDisposedException"> 1766 <see cref="T:System.IO.TextReader" /> 已經關閉。</exception> 1767 <exception cref="T:System.OutOfMemoryException">沒有足夠的記憶體來為傳回的字串配置緩衝區。</exception> 1768 <exception cref="T:System.ArgumentOutOfRangeException">下一行中的字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1769 <filterpriority>1</filterpriority> 1770 </member> 1771 <member name="M:System.IO.TextReader.ReadToEndAsync"> 1772 <summary>非同步讀取從目前位置到文字讀取器末端的所有字元,並將它們以單一字串傳回。</summary> 1773 <returns>表示非同步讀取作業的工作。<paramref name="TResult" />參數的值會包含字串,該字串含有從目前位置到文字讀取器結尾的字元。</returns> 1774 <exception cref="T:System.ArgumentOutOfRangeException">字元數大於 <see cref="F:System.Int32.MaxValue" />。</exception> 1775 <exception cref="T:System.ObjectDisposedException">文字讀取器已處置。</exception> 1776 <exception cref="T:System.InvalidOperationException">讀取器目前由先前讀取作業所使用。</exception> 1777 </member> 1778 <member name="T:System.IO.TextWriter"> 1779 <summary>代表可以寫入一連串連續字元的寫入器。這個類別是抽象的。</summary> 1780 <filterpriority>2</filterpriority> 1781 </member> 1782 <member name="M:System.IO.TextWriter.#ctor"> 1783 <summary>初始化 <see cref="T:System.IO.TextWriter" /> 類別的新執行個體。</summary> 1784 </member> 1785 <member name="M:System.IO.TextWriter.#ctor(System.IFormatProvider)"> 1786 <summary>使用指定的格式提供者,初始化 <see cref="T:System.IO.TextWriter" /> 類別的新執行個體。</summary> 1787 <param name="formatProvider">控制格式設定的 <see cref="T:System.IFormatProvider" /> 物件。</param> 1788 </member> 1789 <member name="F:System.IO.TextWriter.CoreNewLine"> 1790 <summary>儲存這個 TextWriter 所使用的新行字元。</summary> 1791 </member> 1792 <member name="M:System.IO.TextWriter.Dispose"> 1793 <summary>釋放由 <see cref="T:System.IO.TextWriter" /> 物件使用的所有資源。</summary> 1794 </member> 1795 <member name="M:System.IO.TextWriter.Dispose(System.Boolean)"> 1796 <summary>釋放 <see cref="T:System.IO.TextWriter" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary> 1797 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param> 1798 </member> 1799 <member name="P:System.IO.TextWriter.Encoding"> 1800 <summary>當在衍生類別中覆寫該屬性時,傳回用於寫入輸出的字元編碼。</summary> 1801 <returns>寫入輸出時使用的字元編碼。</returns> 1802 <filterpriority>1</filterpriority> 1803 </member> 1804 <member name="M:System.IO.TextWriter.Flush"> 1805 <summary>清除目前寫入器的所有緩衝區,並造成任何緩衝資料都寫入基礎裝置。</summary> 1806 <filterpriority>1</filterpriority> 1807 </member> 1808 <member name="M:System.IO.TextWriter.FlushAsync"> 1809 <summary>以非同步的方式清除目前寫入器的所有緩衝區,並造成任何緩衝資料都寫入基礎裝置。</summary> 1810 <returns>表示非同步排清作業的工作。</returns> 1811 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 1812 <exception cref="T:System.InvalidOperationException">寫入器目前由先前寫入作業所使用。</exception> 1813 </member> 1814 <member name="P:System.IO.TextWriter.FormatProvider"> 1815 <summary>取得控制格式設定的物件。</summary> 1816 <returns>特定文化特性的 <see cref="T:System.IFormatProvider" /> 物件,或者目前文化特性的格式 (如果未指定其他文化特性)。</returns> 1817 <filterpriority>2</filterpriority> 1818 </member> 1819 <member name="P:System.IO.TextWriter.NewLine"> 1820 <summary>取得或設定目前 TextWriter 所使用的行結束字元字串。</summary> 1821 <returns>目前 TextWriter 的行結束字元字串。</returns> 1822 <filterpriority>2</filterpriority> 1823 </member> 1824 <member name="F:System.IO.TextWriter.Null"> 1825 <summary>提供 TextWriter,但不包含可寫入但無法讀取的備份存放區。</summary> 1826 <filterpriority>1</filterpriority> 1827 </member> 1828 <member name="M:System.IO.TextWriter.Write(System.Boolean)"> 1829 <summary>將 Boolean 值的文字表示寫入到文字字串或資料流。</summary> 1830 <param name="value">要寫入的 Boolean 值。</param> 1831 <exception cref="T:System.ObjectDisposedException"> 1832 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1833 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1834 <filterpriority>1</filterpriority> 1835 </member> 1836 <member name="M:System.IO.TextWriter.Write(System.Char)"> 1837 <summary>將字元寫入到文字字串或資料流。</summary> 1838 <param name="value">要寫入到文字資料流的字元。</param> 1839 <exception cref="T:System.ObjectDisposedException"> 1840 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1841 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1842 <filterpriority>1</filterpriority> 1843 </member> 1844 <member name="M:System.IO.TextWriter.Write(System.Char[])"> 1845 <summary>將字元陣列寫入到文字字串或資料流。</summary> 1846 <param name="buffer">要寫入到文字資料流的字元陣列。</param> 1847 <exception cref="T:System.ObjectDisposedException"> 1848 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1849 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1850 <filterpriority>1</filterpriority> 1851 </member> 1852 <member name="M:System.IO.TextWriter.Write(System.Char[],System.Int32,System.Int32)"> 1853 <summary>將字元的子陣列寫入到文字字串或資料流。</summary> 1854 <param name="buffer">資料寫入來源的字元陣列。</param> 1855 <param name="index">緩衝區中要開始擷取資料的字元位置。</param> 1856 <param name="count">要寫入的字元數。</param> 1857 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 1858 <exception cref="T:System.ArgumentNullException"> 1859 <paramref name="buffer" /> 參數為 null。</exception> 1860 <exception cref="T:System.ArgumentOutOfRangeException"> 1861 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 1862 <exception cref="T:System.ObjectDisposedException"> 1863 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1864 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1865 <filterpriority>1</filterpriority> 1866 </member> 1867 <member name="M:System.IO.TextWriter.Write(System.Decimal)"> 1868 <summary>將十進位值的文字表示寫入到文字字串或資料流。</summary> 1869 <param name="value">要寫入的十進位值。</param> 1870 <exception cref="T:System.ObjectDisposedException"> 1871 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1872 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1873 <filterpriority>1</filterpriority> 1874 </member> 1875 <member name="M:System.IO.TextWriter.Write(System.Double)"> 1876 <summary>將 8 位元組浮點數值的文字表示寫入到文字字串或資料流。</summary> 1877 <param name="value">要寫入的 8 位元組浮點數值。</param> 1878 <exception cref="T:System.ObjectDisposedException"> 1879 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1880 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1881 <filterpriority>1</filterpriority> 1882 </member> 1883 <member name="M:System.IO.TextWriter.Write(System.Int32)"> 1884 <summary>將 4 位元組帶正負號的整數之文字表示寫入到文字字串或資料流。</summary> 1885 <param name="value">要寫入之 4 位元組帶正負號的整數。</param> 1886 <exception cref="T:System.ObjectDisposedException"> 1887 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1888 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1889 <filterpriority>1</filterpriority> 1890 </member> 1891 <member name="M:System.IO.TextWriter.Write(System.Int64)"> 1892 <summary>將 8 位元組帶正負號的整數之文字表示寫入到文字字串或資料流。</summary> 1893 <param name="value">要寫入之 8 位元組帶正負號的整數。</param> 1894 <exception cref="T:System.ObjectDisposedException"> 1895 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1896 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1897 <filterpriority>1</filterpriority> 1898 </member> 1899 <member name="M:System.IO.TextWriter.Write(System.Object)"> 1900 <summary>呼叫該物件的 ToString 方法,將物件的文字表示寫入至文字字串或資料流。</summary> 1901 <param name="value">要寫入的物件。</param> 1902 <exception cref="T:System.ObjectDisposedException"> 1903 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1904 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1905 <filterpriority>1</filterpriority> 1906 </member> 1907 <member name="M:System.IO.TextWriter.Write(System.Single)"> 1908 <summary>將 4 位元組浮點數值的文字表示寫入到文字字串或資料流。</summary> 1909 <param name="value">要寫入的 4 位元組浮點數值。</param> 1910 <exception cref="T:System.ObjectDisposedException"> 1911 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1912 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1913 <filterpriority>1</filterpriority> 1914 </member> 1915 <member name="M:System.IO.TextWriter.Write(System.String)"> 1916 <summary>將字串寫入到文字字串或資料流。</summary> 1917 <param name="value">要寫入的字串。</param> 1918 <exception cref="T:System.ObjectDisposedException"> 1919 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1920 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1921 <filterpriority>1</filterpriority> 1922 </member> 1923 <member name="M:System.IO.TextWriter.Write(System.String,System.Object)"> 1924 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object)" /> 方法相同的語意,將格式化字串寫入到文字字串或資料流。</summary> 1925 <param name="format">複合格式字串 (請參閱<備註>)。</param> 1926 <param name="arg0">要格式化及寫入的物件。</param> 1927 <exception cref="T:System.ArgumentNullException"> 1928 <paramref name="format" /> 為 null。</exception> 1929 <exception cref="T:System.ObjectDisposedException"> 1930 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1931 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1932 <exception cref="T:System.FormatException"> 1933 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或大於或等於要格式化的物件數目 (就這個方法多載而言,是一個)。</exception> 1934 <filterpriority>1</filterpriority> 1935 </member> 1936 <member name="M:System.IO.TextWriter.Write(System.String,System.Object,System.Object)"> 1937 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object,System.Object)" /> 方法相同的語意,將格式化字串寫入到文字字串或資料流。</summary> 1938 <param name="format">複合格式字串 (請參閱<備註>)。</param> 1939 <param name="arg0">第一個要格式化和寫入的物件。</param> 1940 <param name="arg1">第二個要格式化和寫入的物件。</param> 1941 <exception cref="T:System.ArgumentNullException"> 1942 <paramref name="format" /> 為 null。</exception> 1943 <exception cref="T:System.ObjectDisposedException"> 1944 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1945 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1946 <exception cref="T:System.FormatException"> 1947 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零) 或大於或等於要格式化的物件數目 (就這個方法多載而言,是兩個)。</exception> 1948 <filterpriority>1</filterpriority> 1949 </member> 1950 <member name="M:System.IO.TextWriter.Write(System.String,System.Object,System.Object,System.Object)"> 1951 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object,System.Object,System.Object)" /> 方法相同的語意,將格式化字串寫入到文字字串或資料流。</summary> 1952 <param name="format">複合格式字串 (請參閱<備註>)。</param> 1953 <param name="arg0">第一個要格式化和寫入的物件。</param> 1954 <param name="arg1">第二個要格式化和寫入的物件。</param> 1955 <param name="arg2">第三個要格式化和寫入的物件。</param> 1956 <exception cref="T:System.ArgumentNullException"> 1957 <paramref name="format" /> 為 null。</exception> 1958 <exception cref="T:System.ObjectDisposedException"> 1959 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1960 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1961 <exception cref="T:System.FormatException"> 1962 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或大於或等於要格式化的物件數目 (就這個方法多載而言,是三個)。</exception> 1963 <filterpriority>1</filterpriority> 1964 </member> 1965 <member name="M:System.IO.TextWriter.Write(System.String,System.Object[])"> 1966 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object[])" /> 方法相同的語意,將格式化字串寫入到文字字串或資料流。</summary> 1967 <param name="format">複合格式字串 (請參閱<備註>)。</param> 1968 <param name="arg">物件陣列,包含零或多個要格式化和寫入的物件。</param> 1969 <exception cref="T:System.ArgumentNullException"> 1970 <paramref name="format" /> 或 <paramref name="arg" /> 為 null。</exception> 1971 <exception cref="T:System.ObjectDisposedException"> 1972 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1973 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1974 <exception cref="T:System.FormatException"> 1975 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或者大於或等於 <paramref name="arg" /> 陣列的長度。</exception> 1976 <filterpriority>1</filterpriority> 1977 </member> 1978 <member name="M:System.IO.TextWriter.Write(System.UInt32)"> 1979 <summary>將 4 位元組不帶正負號的整數之文字表示寫入到文字字串或資料流。</summary> 1980 <param name="value">要寫入之 4 位元組不帶正負號的整數。</param> 1981 <exception cref="T:System.ObjectDisposedException"> 1982 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1983 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1984 <filterpriority>1</filterpriority> 1985 </member> 1986 <member name="M:System.IO.TextWriter.Write(System.UInt64)"> 1987 <summary>將 8 位元組不帶正負號的整數之文字表示寫入到文字字串或資料流。</summary> 1988 <param name="value">要寫入之 8 位元組不帶正負號的整數。</param> 1989 <exception cref="T:System.ObjectDisposedException"> 1990 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 1991 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 1992 <filterpriority>1</filterpriority> 1993 </member> 1994 <member name="M:System.IO.TextWriter.WriteAsync(System.Char)"> 1995 <summary>以非同步方式將字元寫入到文字字串或資料流。</summary> 1996 <returns>表示非同步寫入作業的工作。</returns> 1997 <param name="value">要寫入到文字資料流的字元。</param> 1998 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 1999 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2000 </member> 2001 <member name="M:System.IO.TextWriter.WriteAsync(System.Char[])"> 2002 <summary>以非同步方式將字元陣列寫入到文字字串或資料流。</summary> 2003 <returns>表示非同步寫入作業的工作。</returns> 2004 <param name="buffer">要寫入到文字資料流的字元陣列。如果 <paramref name="buffer" /> 是 null,則不寫入任何資料。</param> 2005 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2006 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2007 </member> 2008 <member name="M:System.IO.TextWriter.WriteAsync(System.Char[],System.Int32,System.Int32)"> 2009 <summary>以非同步方式將字元的子陣列寫入到文字字串或資料流。</summary> 2010 <returns>表示非同步寫入作業的工作。</returns> 2011 <param name="buffer">資料寫入來源的字元陣列。</param> 2012 <param name="index">緩衝區中要開始擷取資料的字元位置。</param> 2013 <param name="count">要寫入的字元數。</param> 2014 <exception cref="T:System.ArgumentNullException"> 2015 <paramref name="buffer" /> 為 null。</exception> 2016 <exception cref="T:System.ArgumentException"> 2017 <paramref name="index" /> 加上 <paramref name="count" /> 大於緩衝區的長度。</exception> 2018 <exception cref="T:System.ArgumentOutOfRangeException"> 2019 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 2020 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2021 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2022 </member> 2023 <member name="M:System.IO.TextWriter.WriteAsync(System.String)"> 2024 <summary>以非同步方式將字串寫入到文字字串或資料流。</summary> 2025 <returns>表示非同步寫入作業的工作。</returns> 2026 <param name="value">要寫入的字串。如果 <paramref name="value" /> 為 null,不寫入任何字串到文字資料流。</param> 2027 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2028 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2029 </member> 2030 <member name="M:System.IO.TextWriter.WriteLine"> 2031 <summary>將行結束字元寫入到文字字串或資料流。</summary> 2032 <exception cref="T:System.ObjectDisposedException"> 2033 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2034 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2035 <filterpriority>1</filterpriority> 2036 </member> 2037 <member name="M:System.IO.TextWriter.WriteLine(System.Boolean)"> 2038 <summary>將 Boolean 值的文字表示,並加上行結束字元寫入到文字字串或資料流。</summary> 2039 <param name="value">要寫入的 Boolean 值。</param> 2040 <exception cref="T:System.ObjectDisposedException"> 2041 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2042 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2043 <filterpriority>1</filterpriority> 2044 </member> 2045 <member name="M:System.IO.TextWriter.WriteLine(System.Char)"> 2046 <summary>將一個字元 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2047 <param name="value">要寫入到文字資料流的字元。</param> 2048 <exception cref="T:System.ObjectDisposedException"> 2049 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2050 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2051 <filterpriority>1</filterpriority> 2052 </member> 2053 <member name="M:System.IO.TextWriter.WriteLine(System.Char[])"> 2054 <summary>將一個字元 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2055 <param name="buffer">資料讀取來源的字元陣列。</param> 2056 <exception cref="T:System.ObjectDisposedException"> 2057 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2058 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2059 <filterpriority>1</filterpriority> 2060 </member> 2061 <member name="M:System.IO.TextWriter.WriteLine(System.Char[],System.Int32,System.Int32)"> 2062 <summary>將字元子陣列 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2063 <param name="buffer">資料讀取來源的字元陣列。</param> 2064 <param name="index"> 2065 <paramref name="buffer" /> 中開始讀取資料的字元位置。</param> 2066 <param name="count">要寫入的最大字元數。</param> 2067 <exception cref="T:System.ArgumentException">緩衝區長度減去 <paramref name="index" /> 小於 <paramref name="count" />。</exception> 2068 <exception cref="T:System.ArgumentNullException"> 2069 <paramref name="buffer" /> 參數為 null。</exception> 2070 <exception cref="T:System.ArgumentOutOfRangeException"> 2071 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 2072 <exception cref="T:System.ObjectDisposedException"> 2073 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2074 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2075 <filterpriority>1</filterpriority> 2076 </member> 2077 <member name="M:System.IO.TextWriter.WriteLine(System.Decimal)"> 2078 <summary>將十進位值的文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2079 <param name="value">要寫入的十進位值。</param> 2080 <exception cref="T:System.ObjectDisposedException"> 2081 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2082 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2083 <filterpriority>1</filterpriority> 2084 </member> 2085 <member name="M:System.IO.TextWriter.WriteLine(System.Double)"> 2086 <summary>將 8 位元組浮點數值的文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2087 <param name="value">要寫入的 8 位元組浮點數值。</param> 2088 <exception cref="T:System.ObjectDisposedException"> 2089 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2090 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2091 <filterpriority>1</filterpriority> 2092 </member> 2093 <member name="M:System.IO.TextWriter.WriteLine(System.Int32)"> 2094 <summary>將 4 位元組帶正負號的整數之文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2095 <param name="value">要寫入之 4 位元組帶正負號的整數。</param> 2096 <exception cref="T:System.ObjectDisposedException"> 2097 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2098 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2099 <filterpriority>1</filterpriority> 2100 </member> 2101 <member name="M:System.IO.TextWriter.WriteLine(System.Int64)"> 2102 <summary>將 8 位元組帶正負號的整數之文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2103 <param name="value">要寫入之 8 位元組帶正負號的整數。</param> 2104 <exception cref="T:System.ObjectDisposedException"> 2105 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2106 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2107 <filterpriority>1</filterpriority> 2108 </member> 2109 <member name="M:System.IO.TextWriter.WriteLine(System.Object)"> 2110 <summary>透過呼叫該物件上的 ToString 方法,將該物件的文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2111 <param name="value">要寫入的物件。如果 <paramref name="value" /> 為 null,只寫入行結束字元。</param> 2112 <exception cref="T:System.ObjectDisposedException"> 2113 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2114 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2115 <filterpriority>1</filterpriority> 2116 </member> 2117 <member name="M:System.IO.TextWriter.WriteLine(System.Single)"> 2118 <summary>將 4 位元組浮點數值的文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2119 <param name="value">要寫入的 4 位元組浮點數值。</param> 2120 <exception cref="T:System.ObjectDisposedException"> 2121 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2122 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2123 <filterpriority>1</filterpriority> 2124 </member> 2125 <member name="M:System.IO.TextWriter.WriteLine(System.String)"> 2126 <summary>將字串 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2127 <param name="value">要寫入的字串。如果 <paramref name="value" /> 為 null,只寫入行結束字元。</param> 2128 <exception cref="T:System.ObjectDisposedException"> 2129 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2130 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2131 <filterpriority>1</filterpriority> 2132 </member> 2133 <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object)"> 2134 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object)" /> 方法相同的語意,將格式化字串和新行寫入到文字字串或資料流。</summary> 2135 <param name="format">複合格式字串 (請參閱<備註>)。</param> 2136 <param name="arg0">要格式化及寫入的物件。</param> 2137 <exception cref="T:System.ArgumentNullException"> 2138 <paramref name="format" /> 為 null。</exception> 2139 <exception cref="T:System.ObjectDisposedException"> 2140 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2141 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2142 <exception cref="T:System.FormatException"> 2143 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或大於或等於要格式化的物件數目 (就這個方法多載而言,是一個)。</exception> 2144 <filterpriority>1</filterpriority> 2145 </member> 2146 <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object,System.Object)"> 2147 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object,System.Object)" /> 方法相同的語意,將格式化字串和新行寫入到文字字串或資料流。</summary> 2148 <param name="format">複合格式字串 (請參閱<備註>)。</param> 2149 <param name="arg0">第一個要格式化和寫入的物件。</param> 2150 <param name="arg1">第二個要格式化和寫入的物件。</param> 2151 <exception cref="T:System.ArgumentNullException"> 2152 <paramref name="format" /> 為 null。</exception> 2153 <exception cref="T:System.ObjectDisposedException"> 2154 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2155 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2156 <exception cref="T:System.FormatException"> 2157 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或大於或等於要格式化的物件數目 (就這個方法多載而言,是兩個)。</exception> 2158 <filterpriority>1</filterpriority> 2159 </member> 2160 <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object,System.Object,System.Object)"> 2161 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object)" /> 相同的語意,寫出格式化字串和新行。</summary> 2162 <param name="format">複合格式字串 (請參閱<備註>)。</param> 2163 <param name="arg0">第一個要格式化和寫入的物件。</param> 2164 <param name="arg1">第二個要格式化和寫入的物件。</param> 2165 <param name="arg2">第三個要格式化和寫入的物件。</param> 2166 <exception cref="T:System.ArgumentNullException"> 2167 <paramref name="format" /> 為 null。</exception> 2168 <exception cref="T:System.ObjectDisposedException"> 2169 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2170 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2171 <exception cref="T:System.FormatException"> 2172 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或大於或等於要格式化的物件數目 (就這個方法多載而言,是三個)。</exception> 2173 <filterpriority>1</filterpriority> 2174 </member> 2175 <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object[])"> 2176 <summary>使用與 <see cref="M:System.String.Format(System.String,System.Object)" /> 相同的語意,寫出格式化字串和新行。</summary> 2177 <param name="format">複合格式字串 (請參閱<備註>)。</param> 2178 <param name="arg">物件陣列,包含零或多個要格式化和寫入的物件。</param> 2179 <exception cref="T:System.ArgumentNullException">傳入的字串或物件為 null。</exception> 2180 <exception cref="T:System.ObjectDisposedException"> 2181 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2182 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2183 <exception cref="T:System.FormatException"> 2184 <paramref name="format" /> 不是有效的複合格式字串。-或- 格式項目的索引小於 0 (零),或者大於或等於 <paramref name="arg" /> 陣列的長度。</exception> 2185 <filterpriority>1</filterpriority> 2186 </member> 2187 <member name="M:System.IO.TextWriter.WriteLine(System.UInt32)"> 2188 <summary>將 4 位元組不帶正負號的整數之文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2189 <param name="value">要寫入之 4 位元組不帶正負號的整數。</param> 2190 <exception cref="T:System.ObjectDisposedException"> 2191 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2192 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2193 <filterpriority>1</filterpriority> 2194 </member> 2195 <member name="M:System.IO.TextWriter.WriteLine(System.UInt64)"> 2196 <summary>將 8 位元組不帶正負號的整數之文字表示加上行結束字元,寫入到文字字串或資料流。</summary> 2197 <param name="value">要寫入之 8 位元組不帶正負號的整數。</param> 2198 <exception cref="T:System.ObjectDisposedException"> 2199 <see cref="T:System.IO.TextWriter" /> 已經關閉。</exception> 2200 <exception cref="T:System.IO.IOException">發生 I/O 錯誤。</exception> 2201 <filterpriority>1</filterpriority> 2202 </member> 2203 <member name="M:System.IO.TextWriter.WriteLineAsync"> 2204 <summary>以非同步方式將行結束字元寫入到文字字串或資料流。</summary> 2205 <returns>表示非同步寫入作業的工作。</returns> 2206 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2207 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2208 </member> 2209 <member name="M:System.IO.TextWriter.WriteLineAsync(System.Char)"> 2210 <summary>以非同步方式將一個字元 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2211 <returns>表示非同步寫入作業的工作。</returns> 2212 <param name="value">要寫入到文字資料流的字元。</param> 2213 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2214 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2215 </member> 2216 <member name="M:System.IO.TextWriter.WriteLineAsync(System.Char[])"> 2217 <summary>以非同步方式將字元子陣列 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2218 <returns>表示非同步寫入作業的工作。</returns> 2219 <param name="buffer">要寫入到文字資料流的字元陣列。如果字元陣列是 null,則只有行結束字元會被寫入。</param> 2220 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2221 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2222 </member> 2223 <member name="M:System.IO.TextWriter.WriteLineAsync(System.Char[],System.Int32,System.Int32)"> 2224 <summary>以非同步方式將字元子陣列 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2225 <returns>表示非同步寫入作業的工作。</returns> 2226 <param name="buffer">資料寫入來源的字元陣列。</param> 2227 <param name="index">緩衝區中要開始擷取資料的字元位置。</param> 2228 <param name="count">要寫入的字元數。</param> 2229 <exception cref="T:System.ArgumentNullException"> 2230 <paramref name="buffer" /> 為 null。</exception> 2231 <exception cref="T:System.ArgumentException"> 2232 <paramref name="index" /> 加上 <paramref name="count" /> 大於緩衝區的長度。</exception> 2233 <exception cref="T:System.ArgumentOutOfRangeException"> 2234 <paramref name="index" /> 或 <paramref name="count" /> 為負值。</exception> 2235 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2236 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2237 </member> 2238 <member name="M:System.IO.TextWriter.WriteLineAsync(System.String)"> 2239 <summary>以非同步方式將字串 (其後加上行結束字元) 寫入到文字字串或資料流。</summary> 2240 <returns>表示非同步寫入作業的工作。</returns> 2241 <param name="value">要寫入的字串。如果值為 null,則只會寫入行結束字元。</param> 2242 <exception cref="T:System.ObjectDisposedException">文字寫入器已處置。</exception> 2243 <exception cref="T:System.InvalidOperationException">文字寫入器目前由先前寫入作業所使用。</exception> 2244 </member> 2245 </members> 2246</doc>