1
0

System.IO.xml 183 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151
  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>Reads primitive data types as binary values in a specific encoding.</summary>
  9. <filterpriority>2</filterpriority>
  10. </member>
  11. <member name="M:System.IO.BinaryReader.#ctor(System.IO.Stream)">
  12. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and using UTF-8 encoding.</summary>
  13. <param name="input">The input stream. </param>
  14. <exception cref="T:System.ArgumentException">The stream does not support reading, is null, or is already closed. </exception>
  15. </member>
  16. <member name="M:System.IO.BinaryReader.#ctor(System.IO.Stream,System.Text.Encoding)">
  17. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and character encoding.</summary>
  18. <param name="input">The input stream. </param>
  19. <param name="encoding">The character encoding to use. </param>
  20. <exception cref="T:System.ArgumentException">The stream does not support reading, is null, or is already closed. </exception>
  21. <exception cref="T:System.ArgumentNullException">
  22. <paramref name="encoding" /> is null. </exception>
  23. </member>
  24. <member name="M:System.IO.BinaryReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean)">
  25. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and character encoding, and optionally leaves the stream open.</summary>
  26. <param name="input">The input stream.</param>
  27. <param name="encoding">The character encoding to use.</param>
  28. <param name="leaveOpen">true to leave the stream open after the <see cref="T:System.IO.BinaryReader" /> object is disposed; otherwise, false.</param>
  29. <exception cref="T:System.ArgumentException">The stream does not support reading, is null, or is already closed. </exception>
  30. <exception cref="T:System.ArgumentNullException">
  31. <paramref name="encoding" /> or <paramref name="input" /> is null. </exception>
  32. </member>
  33. <member name="P:System.IO.BinaryReader.BaseStream">
  34. <summary>Exposes access to the underlying stream of the <see cref="T:System.IO.BinaryReader" />.</summary>
  35. <returns>The underlying stream associated with the BinaryReader.</returns>
  36. <filterpriority>2</filterpriority>
  37. </member>
  38. <member name="M:System.IO.BinaryReader.Dispose">
  39. <summary>Releases all resources used by the current instance of the <see cref="T:System.IO.BinaryReader" /> class.</summary>
  40. </member>
  41. <member name="M:System.IO.BinaryReader.Dispose(System.Boolean)">
  42. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.BinaryReader" /> class and optionally releases the managed resources.</summary>
  43. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  44. </member>
  45. <member name="M:System.IO.BinaryReader.FillBuffer(System.Int32)">
  46. <summary>Fills the internal buffer with the specified number of bytes read from the stream.</summary>
  47. <param name="numBytes">The number of bytes to be read. </param>
  48. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached before <paramref name="numBytes" /> could be read. </exception>
  49. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  50. <exception cref="T:System.ArgumentOutOfRangeException">Requested <paramref name="numBytes" /> is larger than the internal buffer size.</exception>
  51. </member>
  52. <member name="M:System.IO.BinaryReader.PeekChar">
  53. <summary>Returns the next available character and does not advance the byte or character position.</summary>
  54. <returns>The next available character, or -1 if no more characters are available or the stream does not support seeking.</returns>
  55. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  56. <exception cref="T:System.ArgumentException">The current character cannot be decoded into the internal character buffer by using the <see cref="T:System.Text.Encoding" /> selected for the stream.</exception>
  57. <filterpriority>2</filterpriority>
  58. </member>
  59. <member name="M:System.IO.BinaryReader.Read">
  60. <summary>Reads characters from the underlying stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.</summary>
  61. <returns>The next character from the input stream, or -1 if no characters are currently available.</returns>
  62. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  63. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  64. <filterpriority>2</filterpriority>
  65. </member>
  66. <member name="M:System.IO.BinaryReader.Read(System.Byte[],System.Int32,System.Int32)">
  67. <summary>Reads the specified number of bytes from the stream, starting from a specified point in the byte array. </summary>
  68. <returns>The number of bytes read into <paramref name="buffer" />. This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached.</returns>
  69. <param name="buffer">The buffer to read data into. </param>
  70. <param name="index">The starting point in the buffer at which to begin reading into the buffer. </param>
  71. <param name="count">The number of bytes to read. </param>
  72. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. -or-The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
  73. <exception cref="T:System.ArgumentNullException">
  74. <paramref name="buffer" /> is null. </exception>
  75. <exception cref="T:System.ArgumentOutOfRangeException">
  76. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  77. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  78. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  79. <filterpriority>2</filterpriority>
  80. </member>
  81. <member name="M:System.IO.BinaryReader.Read(System.Char[],System.Int32,System.Int32)">
  82. <summary>Reads the specified number of characters from the stream, starting from a specified point in the character array.</summary>
  83. <returns>The total number of characters read into the buffer. This might be less than the number of characters requested if that many characters are not currently available, or it might be zero if the end of the stream is reached.</returns>
  84. <param name="buffer">The buffer to read data into. </param>
  85. <param name="index">The starting point in the buffer at which to begin reading into the buffer. </param>
  86. <param name="count">The number of characters to read. </param>
  87. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. -or-The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
  88. <exception cref="T:System.ArgumentNullException">
  89. <paramref name="buffer" /> is null. </exception>
  90. <exception cref="T:System.ArgumentOutOfRangeException">
  91. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  92. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  93. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  94. <filterpriority>2</filterpriority>
  95. </member>
  96. <member name="M:System.IO.BinaryReader.Read7BitEncodedInt">
  97. <summary>Reads in a 32-bit integer in compressed format.</summary>
  98. <returns>A 32-bit integer in compressed format.</returns>
  99. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  100. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  101. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  102. <exception cref="T:System.FormatException">The stream is corrupted.</exception>
  103. </member>
  104. <member name="M:System.IO.BinaryReader.ReadBoolean">
  105. <summary>Reads a Boolean value from the current stream and advances the current position of the stream by one byte.</summary>
  106. <returns>true if the byte is nonzero; otherwise, false.</returns>
  107. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  108. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  109. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  110. <filterpriority>2</filterpriority>
  111. </member>
  112. <member name="M:System.IO.BinaryReader.ReadByte">
  113. <summary>Reads the next byte from the current stream and advances the current position of the stream by one byte.</summary>
  114. <returns>The next byte read from the current stream.</returns>
  115. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  116. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  117. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  118. <filterpriority>2</filterpriority>
  119. </member>
  120. <member name="M:System.IO.BinaryReader.ReadBytes(System.Int32)">
  121. <summary>Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.</summary>
  122. <returns>A byte array containing data read from the underlying stream. This might be less than the number of bytes requested if the end of the stream is reached.</returns>
  123. <param name="count">The number of bytes to read. This value must be 0 or a non-negative number or an exception will occur.</param>
  124. <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
  125. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  126. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  127. <exception cref="T:System.ArgumentOutOfRangeException">
  128. <paramref name="count" /> is negative. </exception>
  129. <filterpriority>2</filterpriority>
  130. </member>
  131. <member name="M:System.IO.BinaryReader.ReadChar">
  132. <summary>Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.</summary>
  133. <returns>A character read from the current stream.</returns>
  134. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  135. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  136. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  137. <exception cref="T:System.ArgumentException">A surrogate character was read. </exception>
  138. <filterpriority>2</filterpriority>
  139. </member>
  140. <member name="M:System.IO.BinaryReader.ReadChars(System.Int32)">
  141. <summary>Reads the specified number of characters from the current stream, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream.</summary>
  142. <returns>A character array containing data read from the underlying stream. This might be less than the number of characters requested if the end of the stream is reached.</returns>
  143. <param name="count">The number of characters to read. </param>
  144. <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
  145. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  146. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  147. <exception cref="T:System.ArgumentOutOfRangeException">
  148. <paramref name="count" /> is negative. </exception>
  149. <filterpriority>2</filterpriority>
  150. </member>
  151. <member name="M:System.IO.BinaryReader.ReadDecimal">
  152. <summary>Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.</summary>
  153. <returns>A decimal value read from the current stream.</returns>
  154. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  155. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  156. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  157. <filterpriority>2</filterpriority>
  158. </member>
  159. <member name="M:System.IO.BinaryReader.ReadDouble">
  160. <summary>Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.</summary>
  161. <returns>An 8-byte floating point value read from the current stream.</returns>
  162. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  163. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  164. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  165. <filterpriority>2</filterpriority>
  166. </member>
  167. <member name="M:System.IO.BinaryReader.ReadInt16">
  168. <summary>Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.</summary>
  169. <returns>A 2-byte signed integer read from the current stream.</returns>
  170. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  171. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  172. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  173. <filterpriority>2</filterpriority>
  174. </member>
  175. <member name="M:System.IO.BinaryReader.ReadInt32">
  176. <summary>Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.</summary>
  177. <returns>A 4-byte signed integer read from the current stream.</returns>
  178. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  179. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  180. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  181. <filterpriority>2</filterpriority>
  182. </member>
  183. <member name="M:System.IO.BinaryReader.ReadInt64">
  184. <summary>Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.</summary>
  185. <returns>An 8-byte signed integer read from the current stream.</returns>
  186. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  187. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  188. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  189. <filterpriority>2</filterpriority>
  190. </member>
  191. <member name="M:System.IO.BinaryReader.ReadSByte">
  192. <summary>Reads a signed byte from this stream and advances the current position of the stream by one byte.</summary>
  193. <returns>A signed byte read from the current stream.</returns>
  194. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  195. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  196. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  197. <filterpriority>2</filterpriority>
  198. </member>
  199. <member name="M:System.IO.BinaryReader.ReadSingle">
  200. <summary>Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.</summary>
  201. <returns>A 4-byte floating point value read from the current stream.</returns>
  202. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  203. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  204. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  205. <filterpriority>2</filterpriority>
  206. </member>
  207. <member name="M:System.IO.BinaryReader.ReadString">
  208. <summary>Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.</summary>
  209. <returns>The string being read.</returns>
  210. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  211. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  212. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  213. <filterpriority>2</filterpriority>
  214. </member>
  215. <member name="M:System.IO.BinaryReader.ReadUInt16">
  216. <summary>Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.</summary>
  217. <returns>A 2-byte unsigned integer read from this stream.</returns>
  218. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  219. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  220. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  221. <filterpriority>2</filterpriority>
  222. </member>
  223. <member name="M:System.IO.BinaryReader.ReadUInt32">
  224. <summary>Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.</summary>
  225. <returns>A 4-byte unsigned integer read from this stream.</returns>
  226. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  227. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  228. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  229. <filterpriority>2</filterpriority>
  230. </member>
  231. <member name="M:System.IO.BinaryReader.ReadUInt64">
  232. <summary>Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.</summary>
  233. <returns>An 8-byte unsigned integer read from this stream.</returns>
  234. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  235. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  236. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  237. <filterpriority>2</filterpriority>
  238. </member>
  239. <member name="T:System.IO.BinaryWriter">
  240. <summary>Writes primitive types in binary to a stream and supports writing strings in a specific encoding.</summary>
  241. <filterpriority>2</filterpriority>
  242. </member>
  243. <member name="M:System.IO.BinaryWriter.#ctor">
  244. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class that writes to a stream.</summary>
  245. </member>
  246. <member name="M:System.IO.BinaryWriter.#ctor(System.IO.Stream)">
  247. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class based on the specified stream and using UTF-8 encoding.</summary>
  248. <param name="output">The output stream. </param>
  249. <exception cref="T:System.ArgumentException">The stream does not support writing or is already closed. </exception>
  250. <exception cref="T:System.ArgumentNullException">
  251. <paramref name="output" /> is null. </exception>
  252. </member>
  253. <member name="M:System.IO.BinaryWriter.#ctor(System.IO.Stream,System.Text.Encoding)">
  254. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class based on the specified stream and character encoding.</summary>
  255. <param name="output">The output stream. </param>
  256. <param name="encoding">The character encoding to use. </param>
  257. <exception cref="T:System.ArgumentException">The stream does not support writing or is already closed. </exception>
  258. <exception cref="T:System.ArgumentNullException">
  259. <paramref name="output" /> or <paramref name="encoding" /> is null. </exception>
  260. </member>
  261. <member name="M:System.IO.BinaryWriter.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean)">
  262. <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class based on the specified stream and character encoding, and optionally leaves the stream open.</summary>
  263. <param name="output">The output stream.</param>
  264. <param name="encoding">The character encoding to use.</param>
  265. <param name="leaveOpen">true to leave the stream open after the <see cref="T:System.IO.BinaryWriter" /> object is disposed; otherwise, false.</param>
  266. <exception cref="T:System.ArgumentException">The stream does not support writing or is already closed. </exception>
  267. <exception cref="T:System.ArgumentNullException">
  268. <paramref name="output" /> or <paramref name="encoding" /> is null. </exception>
  269. </member>
  270. <member name="P:System.IO.BinaryWriter.BaseStream">
  271. <summary>Gets the underlying stream of the <see cref="T:System.IO.BinaryWriter" />.</summary>
  272. <returns>The underlying stream associated with the BinaryWriter.</returns>
  273. <filterpriority>1</filterpriority>
  274. </member>
  275. <member name="M:System.IO.BinaryWriter.Dispose">
  276. <summary>Releases all resources used by the current instance of the <see cref="T:System.IO.BinaryWriter" /> class.</summary>
  277. </member>
  278. <member name="M:System.IO.BinaryWriter.Dispose(System.Boolean)">
  279. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.BinaryWriter" /> and optionally releases the managed resources.</summary>
  280. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  281. </member>
  282. <member name="M:System.IO.BinaryWriter.Flush">
  283. <summary>Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.</summary>
  284. <filterpriority>1</filterpriority>
  285. </member>
  286. <member name="F:System.IO.BinaryWriter.Null">
  287. <summary>Specifies a <see cref="T:System.IO.BinaryWriter" /> with no backing store.</summary>
  288. <filterpriority>1</filterpriority>
  289. </member>
  290. <member name="F:System.IO.BinaryWriter.OutStream">
  291. <summary>Holds the underlying stream.</summary>
  292. </member>
  293. <member name="M:System.IO.BinaryWriter.Seek(System.Int32,System.IO.SeekOrigin)">
  294. <summary>Sets the position within the current stream.</summary>
  295. <returns>The position with the current stream.</returns>
  296. <param name="offset">A byte offset relative to <paramref name="origin" />. </param>
  297. <param name="origin">A field of <see cref="T:System.IO.SeekOrigin" /> indicating the reference point from which the new position is to be obtained. </param>
  298. <exception cref="T:System.IO.IOException">The file pointer was moved to an invalid location. </exception>
  299. <exception cref="T:System.ArgumentException">The <see cref="T:System.IO.SeekOrigin" /> value is invalid. </exception>
  300. <filterpriority>1</filterpriority>
  301. </member>
  302. <member name="M:System.IO.BinaryWriter.Write(System.Boolean)">
  303. <summary>Writes a one-byte Boolean value to the current stream, with 0 representing false and 1 representing true.</summary>
  304. <param name="value">The Boolean value to write (0 or 1). </param>
  305. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  306. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  307. <filterpriority>1</filterpriority>
  308. </member>
  309. <member name="M:System.IO.BinaryWriter.Write(System.Byte)">
  310. <summary>Writes an unsigned byte to the current stream and advances the stream position by one byte.</summary>
  311. <param name="value">The unsigned byte to write. </param>
  312. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  313. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  314. <filterpriority>1</filterpriority>
  315. </member>
  316. <member name="M:System.IO.BinaryWriter.Write(System.Byte[])">
  317. <summary>Writes a byte array to the underlying stream.</summary>
  318. <param name="buffer">A byte array containing the data to write. </param>
  319. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  320. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  321. <exception cref="T:System.ArgumentNullException">
  322. <paramref name="buffer" /> is null. </exception>
  323. <filterpriority>1</filterpriority>
  324. </member>
  325. <member name="M:System.IO.BinaryWriter.Write(System.Byte[],System.Int32,System.Int32)">
  326. <summary>Writes a region of a byte array to the current stream.</summary>
  327. <param name="buffer">A byte array containing the data to write. </param>
  328. <param name="index">The starting point in <paramref name="buffer" /> at which to begin writing. </param>
  329. <param name="count">The number of bytes to write. </param>
  330. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  331. <exception cref="T:System.ArgumentNullException">
  332. <paramref name="buffer" /> is null. </exception>
  333. <exception cref="T:System.ArgumentOutOfRangeException">
  334. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  335. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  336. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  337. <filterpriority>1</filterpriority>
  338. </member>
  339. <member name="M:System.IO.BinaryWriter.Write(System.Char)">
  340. <summary>Writes a Unicode character to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream.</summary>
  341. <param name="ch">The non-surrogate, Unicode character to write. </param>
  342. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  343. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  344. <exception cref="T:System.ArgumentException">
  345. <paramref name="ch" /> is a single surrogate character.</exception>
  346. <filterpriority>1</filterpriority>
  347. </member>
  348. <member name="M:System.IO.BinaryWriter.Write(System.Char[])">
  349. <summary>Writes a character array to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream.</summary>
  350. <param name="chars">A character array containing the data to write. </param>
  351. <exception cref="T:System.ArgumentNullException">
  352. <paramref name="chars" /> is null. </exception>
  353. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  354. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  355. <filterpriority>1</filterpriority>
  356. </member>
  357. <member name="M:System.IO.BinaryWriter.Write(System.Char[],System.Int32,System.Int32)">
  358. <summary>Writes a section of a character array to the current stream, and advances the current position of the stream in accordance with the Encoding used and perhaps the specific characters being written to the stream.</summary>
  359. <param name="chars">A character array containing the data to write. </param>
  360. <param name="index">The starting point in <paramref name="chars" /> from which to begin writing. </param>
  361. <param name="count">The number of characters to write. </param>
  362. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  363. <exception cref="T:System.ArgumentNullException">
  364. <paramref name="chars" /> is null. </exception>
  365. <exception cref="T:System.ArgumentOutOfRangeException">
  366. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  367. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  368. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  369. <filterpriority>1</filterpriority>
  370. </member>
  371. <member name="M:System.IO.BinaryWriter.Write(System.Decimal)">
  372. <summary>Writes a decimal value to the current stream and advances the stream position by sixteen bytes.</summary>
  373. <param name="value">The decimal value to write. </param>
  374. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  375. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  376. <filterpriority>1</filterpriority>
  377. </member>
  378. <member name="M:System.IO.BinaryWriter.Write(System.Double)">
  379. <summary>Writes an eight-byte floating-point value to the current stream and advances the stream position by eight bytes.</summary>
  380. <param name="value">The eight-byte floating-point value to write. </param>
  381. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  382. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  383. <filterpriority>1</filterpriority>
  384. </member>
  385. <member name="M:System.IO.BinaryWriter.Write(System.Int16)">
  386. <summary>Writes a two-byte signed integer to the current stream and advances the stream position by two bytes.</summary>
  387. <param name="value">The two-byte signed integer to write. </param>
  388. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  389. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  390. <filterpriority>1</filterpriority>
  391. </member>
  392. <member name="M:System.IO.BinaryWriter.Write(System.Int32)">
  393. <summary>Writes a four-byte signed integer to the current stream and advances the stream position by four bytes.</summary>
  394. <param name="value">The four-byte signed integer to write. </param>
  395. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  396. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  397. <filterpriority>1</filterpriority>
  398. </member>
  399. <member name="M:System.IO.BinaryWriter.Write(System.Int64)">
  400. <summary>Writes an eight-byte signed integer to the current stream and advances the stream position by eight bytes.</summary>
  401. <param name="value">The eight-byte signed integer to write. </param>
  402. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  403. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  404. <filterpriority>1</filterpriority>
  405. </member>
  406. <member name="M:System.IO.BinaryWriter.Write(System.SByte)">
  407. <summary>Writes a signed byte to the current stream and advances the stream position by one byte.</summary>
  408. <param name="value">The signed byte to write. </param>
  409. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  410. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  411. <filterpriority>1</filterpriority>
  412. </member>
  413. <member name="M:System.IO.BinaryWriter.Write(System.Single)">
  414. <summary>Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.</summary>
  415. <param name="value">The four-byte floating-point value to write. </param>
  416. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  417. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  418. <filterpriority>1</filterpriority>
  419. </member>
  420. <member name="M:System.IO.BinaryWriter.Write(System.String)">
  421. <summary>Writes a length-prefixed string to this stream in the current encoding of the <see cref="T:System.IO.BinaryWriter" />, and advances the current position of the stream in accordance with the encoding used and the specific characters being written to the stream.</summary>
  422. <param name="value">The value to write. </param>
  423. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  424. <exception cref="T:System.ArgumentNullException">
  425. <paramref name="value" /> is null. </exception>
  426. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  427. <filterpriority>1</filterpriority>
  428. </member>
  429. <member name="M:System.IO.BinaryWriter.Write(System.UInt16)">
  430. <summary>Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes.</summary>
  431. <param name="value">The two-byte unsigned integer to write. </param>
  432. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  433. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  434. <filterpriority>1</filterpriority>
  435. </member>
  436. <member name="M:System.IO.BinaryWriter.Write(System.UInt32)">
  437. <summary>Writes a four-byte unsigned integer to the current stream and advances the stream position by four bytes.</summary>
  438. <param name="value">The four-byte unsigned integer to write. </param>
  439. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  440. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  441. <filterpriority>1</filterpriority>
  442. </member>
  443. <member name="M:System.IO.BinaryWriter.Write(System.UInt64)">
  444. <summary>Writes an eight-byte unsigned integer to the current stream and advances the stream position by eight bytes.</summary>
  445. <param name="value">The eight-byte unsigned integer to write. </param>
  446. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  447. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  448. <filterpriority>1</filterpriority>
  449. </member>
  450. <member name="M:System.IO.BinaryWriter.Write7BitEncodedInt(System.Int32)">
  451. <summary>Writes a 32-bit integer in a compressed format.</summary>
  452. <param name="value">The 32-bit integer to be written. </param>
  453. <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached. </exception>
  454. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  455. <exception cref="T:System.IO.IOException">The stream is closed. </exception>
  456. </member>
  457. <member name="T:System.IO.EndOfStreamException">
  458. <summary>The exception that is thrown when reading is attempted past the end of a stream.</summary>
  459. <filterpriority>2</filterpriority>
  460. </member>
  461. <member name="M:System.IO.EndOfStreamException.#ctor">
  462. <summary>Initializes a new instance of the <see cref="T:System.IO.EndOfStreamException" /> class with its message string set to a system-supplied message and its HRESULT set to COR_E_ENDOFSTREAM.</summary>
  463. </member>
  464. <member name="M:System.IO.EndOfStreamException.#ctor(System.String)">
  465. <summary>Initializes a new instance of the <see cref="T:System.IO.EndOfStreamException" /> class with its message string set to <paramref name="message" /> and its HRESULT set to COR_E_ENDOFSTREAM.</summary>
  466. <param name="message">A string that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
  467. </member>
  468. <member name="M:System.IO.EndOfStreamException.#ctor(System.String,System.Exception)">
  469. <summary>Initializes a new instance of the <see cref="T:System.IO.EndOfStreamException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
  470. <param name="message">A string that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
  471. <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
  472. </member>
  473. <member name="T:System.IO.InvalidDataException">
  474. <summary>The exception that is thrown when a data stream is in an invalid format.</summary>
  475. </member>
  476. <member name="M:System.IO.InvalidDataException.#ctor">
  477. <summary>Initializes a new instance of the <see cref="T:System.IO.InvalidDataException" /> class.</summary>
  478. </member>
  479. <member name="M:System.IO.InvalidDataException.#ctor(System.String)">
  480. <summary>Initializes a new instance of the <see cref="T:System.IO.InvalidDataException" /> class with a specified error message.</summary>
  481. <param name="message">The error message that explains the reason for the exception.</param>
  482. </member>
  483. <member name="M:System.IO.InvalidDataException.#ctor(System.String,System.Exception)">
  484. <summary>Initializes a new instance of the <see cref="T:System.IO.InvalidDataException" /> class with a reference to the inner exception that is the cause of this exception.</summary>
  485. <param name="message">The error message that explains the reason for the exception.</param>
  486. <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception.</param>
  487. </member>
  488. <member name="T:System.IO.MemoryStream">
  489. <summary>Creates a stream whose backing store is memory.To browse the .NET Framework source code for this type, see the Reference Source.</summary>
  490. <filterpriority>2</filterpriority>
  491. </member>
  492. <member name="M:System.IO.MemoryStream.#ctor">
  493. <summary>Initializes a new instance of the <see cref="T:System.IO.MemoryStream" /> class with an expandable capacity initialized to zero.</summary>
  494. </member>
  495. <member name="M:System.IO.MemoryStream.#ctor(System.Byte[])">
  496. <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified byte array.</summary>
  497. <param name="buffer">The array of unsigned bytes from which to create the current stream. </param>
  498. <exception cref="T:System.ArgumentNullException">
  499. <paramref name="buffer" /> is null. </exception>
  500. </member>
  501. <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Boolean)">
  502. <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified byte array with the <see cref="P:System.IO.MemoryStream.CanWrite" /> property set as specified.</summary>
  503. <param name="buffer">The array of unsigned bytes from which to create this stream. </param>
  504. <param name="writable">The setting of the <see cref="P:System.IO.MemoryStream.CanWrite" /> property, which determines whether the stream supports writing. </param>
  505. <exception cref="T:System.ArgumentNullException">
  506. <paramref name="buffer" /> is null. </exception>
  507. </member>
  508. <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Int32,System.Int32)">
  509. <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified region (index) of a byte array.</summary>
  510. <param name="buffer">The array of unsigned bytes from which to create this stream. </param>
  511. <param name="index">The index into <paramref name="buffer" /> at which the stream begins. </param>
  512. <param name="count">The length of the stream in bytes. </param>
  513. <exception cref="T:System.ArgumentNullException">
  514. <paramref name="buffer" /> is null. </exception>
  515. <exception cref="T:System.ArgumentOutOfRangeException">
  516. <paramref name="index" /> or <paramref name="count" /> is less than zero. </exception>
  517. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
  518. </member>
  519. <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Int32,System.Int32,System.Boolean)">
  520. <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified region of a byte array, with the <see cref="P:System.IO.MemoryStream.CanWrite" /> property set as specified.</summary>
  521. <param name="buffer">The array of unsigned bytes from which to create this stream. </param>
  522. <param name="index">The index in <paramref name="buffer" /> at which the stream begins. </param>
  523. <param name="count">The length of the stream in bytes. </param>
  524. <param name="writable">The setting of the <see cref="P:System.IO.MemoryStream.CanWrite" /> property, which determines whether the stream supports writing. </param>
  525. <exception cref="T:System.ArgumentNullException">
  526. <paramref name="buffer" /> is null. </exception>
  527. <exception cref="T:System.ArgumentOutOfRangeException">
  528. <paramref name="index" /> or <paramref name="count" /> are negative. </exception>
  529. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
  530. </member>
  531. <member name="M:System.IO.MemoryStream.#ctor(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean)">
  532. <summary>Initializes a new instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified region of a byte array, with the <see cref="P:System.IO.MemoryStream.CanWrite" /> property set as specified, and the ability to call <see cref="M:System.IO.MemoryStream.GetBuffer" /> set as specified.</summary>
  533. <param name="buffer">The array of unsigned bytes from which to create this stream. </param>
  534. <param name="index">The index into <paramref name="buffer" /> at which the stream begins. </param>
  535. <param name="count">The length of the stream in bytes. </param>
  536. <param name="writable">The setting of the <see cref="P:System.IO.MemoryStream.CanWrite" /> property, which determines whether the stream supports writing. </param>
  537. <param name="publiclyVisible">true to enable <see cref="M:System.IO.MemoryStream.GetBuffer" />, which returns the unsigned byte array from which the stream was created; otherwise, false. </param>
  538. <exception cref="T:System.ArgumentNullException">
  539. <paramref name="buffer" /> is null. </exception>
  540. <exception cref="T:System.ArgumentOutOfRangeException">
  541. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  542. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  543. </member>
  544. <member name="M:System.IO.MemoryStream.#ctor(System.Int32)">
  545. <summary>Initializes a new instance of the <see cref="T:System.IO.MemoryStream" /> class with an expandable capacity initialized as specified.</summary>
  546. <param name="capacity">The initial size of the internal array in bytes. </param>
  547. <exception cref="T:System.ArgumentOutOfRangeException">
  548. <paramref name="capacity" /> is negative. </exception>
  549. </member>
  550. <member name="P:System.IO.MemoryStream.CanRead">
  551. <summary>Gets a value indicating whether the current stream supports reading.</summary>
  552. <returns>true if the stream is open.</returns>
  553. <filterpriority>2</filterpriority>
  554. </member>
  555. <member name="P:System.IO.MemoryStream.CanSeek">
  556. <summary>Gets a value indicating whether the current stream supports seeking.</summary>
  557. <returns>true if the stream is open.</returns>
  558. <filterpriority>2</filterpriority>
  559. </member>
  560. <member name="P:System.IO.MemoryStream.CanWrite">
  561. <summary>Gets a value indicating whether the current stream supports writing.</summary>
  562. <returns>true if the stream supports writing; otherwise, false.</returns>
  563. <filterpriority>2</filterpriority>
  564. </member>
  565. <member name="P:System.IO.MemoryStream.Capacity">
  566. <summary>Gets or sets the number of bytes allocated for this stream.</summary>
  567. <returns>The length of the usable portion of the buffer for the stream.</returns>
  568. <exception cref="T:System.ArgumentOutOfRangeException">A capacity is set that is negative or less than the current length of the stream. </exception>
  569. <exception cref="T:System.ObjectDisposedException">The current stream is closed. </exception>
  570. <exception cref="T:System.NotSupportedException">set is invoked on a stream whose capacity cannot be modified. </exception>
  571. <filterpriority>2</filterpriority>
  572. </member>
  573. <member name="M:System.IO.MemoryStream.CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)">
  574. <summary>Asynchronously reads all the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.</summary>
  575. <returns>A task that represents the asynchronous copy operation.</returns>
  576. <param name="destination">The stream to which the contents of the current stream will be copied.</param>
  577. <param name="bufferSize">The size, in bytes, of the buffer. This value must be greater than zero.</param>
  578. <param name="cancellationToken">The token to monitor for cancellation requests.</param>
  579. <exception cref="T:System.ArgumentNullException">
  580. <paramref name="destination" /> is null.</exception>
  581. <exception cref="T:System.ArgumentOutOfRangeException">
  582. <paramref name="buffersize" /> is negative or zero.</exception>
  583. <exception cref="T:System.ObjectDisposedException">Either the current stream or the destination stream is disposed.</exception>
  584. <exception cref="T:System.NotSupportedException">The current stream does not support reading, or the destination stream does not support writing.</exception>
  585. </member>
  586. <member name="M:System.IO.MemoryStream.Dispose(System.Boolean)">
  587. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.MemoryStream" /> class and optionally releases the managed resources.</summary>
  588. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
  589. </member>
  590. <member name="M:System.IO.MemoryStream.Flush">
  591. <summary>Overrides the <see cref="M:System.IO.Stream.Flush" /> method so that no action is performed.</summary>
  592. <filterpriority>2</filterpriority>
  593. </member>
  594. <member name="M:System.IO.MemoryStream.FlushAsync(System.Threading.CancellationToken)">
  595. <summary>Asynchronously clears all buffers for this stream, and monitors cancellation requests.</summary>
  596. <returns>A task that represents the asynchronous flush operation.</returns>
  597. <param name="cancellationToken">The token to monitor for cancellation requests.</param>
  598. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  599. </member>
  600. <member name="P:System.IO.MemoryStream.Length">
  601. <summary>Gets the length of the stream in bytes.</summary>
  602. <returns>The length of the stream in bytes.</returns>
  603. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  604. <filterpriority>2</filterpriority>
  605. </member>
  606. <member name="P:System.IO.MemoryStream.Position">
  607. <summary>Gets or sets the current position within the stream.</summary>
  608. <returns>The current position within the stream.</returns>
  609. <exception cref="T:System.ArgumentOutOfRangeException">The position is set to a negative value or a value greater than <see cref="F:System.Int32.MaxValue" />. </exception>
  610. <exception cref="T:System.ObjectDisposedException">The stream is closed. </exception>
  611. <filterpriority>2</filterpriority>
  612. </member>
  613. <member name="M:System.IO.MemoryStream.Read(System.Byte[],System.Int32,System.Int32)">
  614. <summary>Reads a block of bytes from the current stream and writes the data to a buffer.</summary>
  615. <returns>The total number of bytes written into the buffer. This can be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached before any bytes are read.</returns>
  616. <param name="buffer">When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the characters read from the current stream. </param>
  617. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin storing data from the current stream.</param>
  618. <param name="count">The maximum number of bytes to read. </param>
  619. <exception cref="T:System.ArgumentNullException">
  620. <paramref name="buffer" /> is null. </exception>
  621. <exception cref="T:System.ArgumentOutOfRangeException">
  622. <paramref name="offset" /> or <paramref name="count" /> is negative. </exception>
  623. <exception cref="T:System.ArgumentException">
  624. <paramref name="offset" /> subtracted from the buffer length is less than <paramref name="count" />. </exception>
  625. <exception cref="T:System.ObjectDisposedException">The current stream instance is closed. </exception>
  626. <filterpriority>2</filterpriority>
  627. </member>
  628. <member name="M:System.IO.MemoryStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  629. <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
  630. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. </returns>
  631. <param name="buffer">The buffer to write the data into.</param>
  632. <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
  633. <param name="count">The maximum number of bytes to read.</param>
  634. <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
  635. <exception cref="T:System.ArgumentNullException">
  636. <paramref name="buffer" /> is null.</exception>
  637. <exception cref="T:System.ArgumentOutOfRangeException">
  638. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  639. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  640. <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
  641. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  642. <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation. </exception>
  643. </member>
  644. <member name="M:System.IO.MemoryStream.ReadByte">
  645. <summary>Reads a byte from the current stream.</summary>
  646. <returns>The byte cast to a <see cref="T:System.Int32" />, or -1 if the end of the stream has been reached.</returns>
  647. <exception cref="T:System.ObjectDisposedException">The current stream instance is closed. </exception>
  648. <filterpriority>2</filterpriority>
  649. </member>
  650. <member name="M:System.IO.MemoryStream.Seek(System.Int64,System.IO.SeekOrigin)">
  651. <summary>Sets the position within the current stream to the specified value.</summary>
  652. <returns>The new position within the stream, calculated by combining the initial reference point and the offset.</returns>
  653. <param name="offset">The new position within the stream. This is relative to the <paramref name="loc" /> parameter, and can be positive or negative. </param>
  654. <param name="loc">A value of type <see cref="T:System.IO.SeekOrigin" />, which acts as the seek reference point. </param>
  655. <exception cref="T:System.IO.IOException">Seeking is attempted before the beginning of the stream. </exception>
  656. <exception cref="T:System.ArgumentOutOfRangeException">
  657. <paramref name="offset" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
  658. <exception cref="T:System.ArgumentException">There is an invalid <see cref="T:System.IO.SeekOrigin" />. -or-<paramref name="offset" /> caused an arithmetic overflow.</exception>
  659. <exception cref="T:System.ObjectDisposedException">The current stream instance is closed. </exception>
  660. <filterpriority>2</filterpriority>
  661. </member>
  662. <member name="M:System.IO.MemoryStream.SetLength(System.Int64)">
  663. <summary>Sets the length of the current stream to the specified value.</summary>
  664. <param name="value">The value at which to set the length. </param>
  665. <exception cref="T:System.NotSupportedException">The current stream is not resizable and <paramref name="value" /> is larger than the current capacity.-or- The current stream does not support writing. </exception>
  666. <exception cref="T:System.ArgumentOutOfRangeException">
  667. <paramref name="value" /> is negative or is greater than the maximum length of the <see cref="T:System.IO.MemoryStream" />, where the maximum length is(<see cref="F:System.Int32.MaxValue" /> - origin), and origin is the index into the underlying buffer at which the stream starts. </exception>
  668. <filterpriority>2</filterpriority>
  669. </member>
  670. <member name="M:System.IO.MemoryStream.ToArray">
  671. <summary>Writes the stream contents to a byte array, regardless of the <see cref="P:System.IO.MemoryStream.Position" /> property.</summary>
  672. <returns>A new byte array.</returns>
  673. <filterpriority>2</filterpriority>
  674. </member>
  675. <member name="M:System.IO.MemoryStream.TryGetBuffer(System.ArraySegment{System.Byte}@)">
  676. <summary>Returns the array of unsigned bytes from which this stream was created. The return value indicates whether the conversion succeeded.</summary>
  677. <returns>true if the conversion was successful; otherwise, false.</returns>
  678. <param name="buffer">The byte array segment from which this stream was created.</param>
  679. </member>
  680. <member name="M:System.IO.MemoryStream.Write(System.Byte[],System.Int32,System.Int32)">
  681. <summary>Writes a block of bytes to the current stream using data read from a buffer.</summary>
  682. <param name="buffer">The buffer to write data from. </param>
  683. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
  684. <param name="count">The maximum number of bytes to write. </param>
  685. <exception cref="T:System.ArgumentNullException">
  686. <paramref name="buffer" /> is null. </exception>
  687. <exception cref="T:System.NotSupportedException">The stream does not support writing. For additional information see <see cref="P:System.IO.Stream.CanWrite" />.-or- The current position is closer than <paramref name="count" /> bytes to the end of the stream, and the capacity cannot be modified. </exception>
  688. <exception cref="T:System.ArgumentException">
  689. <paramref name="offset" /> subtracted from the buffer length is less than <paramref name="count" />. </exception>
  690. <exception cref="T:System.ArgumentOutOfRangeException">
  691. <paramref name="offset" /> or <paramref name="count" /> are negative. </exception>
  692. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  693. <exception cref="T:System.ObjectDisposedException">The current stream instance is closed. </exception>
  694. <filterpriority>2</filterpriority>
  695. </member>
  696. <member name="M:System.IO.MemoryStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  697. <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
  698. <returns>A task that represents the asynchronous write operation.</returns>
  699. <param name="buffer">The buffer to write data from.</param>
  700. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
  701. <param name="count">The maximum number of bytes to write.</param>
  702. <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
  703. <exception cref="T:System.ArgumentNullException">
  704. <paramref name="buffer" /> is null.</exception>
  705. <exception cref="T:System.ArgumentOutOfRangeException">
  706. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  707. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  708. <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
  709. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  710. <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation. </exception>
  711. </member>
  712. <member name="M:System.IO.MemoryStream.WriteByte(System.Byte)">
  713. <summary>Writes a byte to the current stream at the current position.</summary>
  714. <param name="value">The byte to write. </param>
  715. <exception cref="T:System.NotSupportedException">The stream does not support writing. For additional information see <see cref="P:System.IO.Stream.CanWrite" />.-or- The current position is at the end of the stream, and the capacity cannot be modified. </exception>
  716. <exception cref="T:System.ObjectDisposedException">The current stream is closed. </exception>
  717. <filterpriority>2</filterpriority>
  718. </member>
  719. <member name="M:System.IO.MemoryStream.WriteTo(System.IO.Stream)">
  720. <summary>Writes the entire contents of this memory stream to another stream.</summary>
  721. <param name="stream">The stream to write this memory stream to. </param>
  722. <exception cref="T:System.ArgumentNullException">
  723. <paramref name="stream" /> is null. </exception>
  724. <exception cref="T:System.ObjectDisposedException">The current or target stream is closed. </exception>
  725. <filterpriority>2</filterpriority>
  726. </member>
  727. <member name="T:System.IO.SeekOrigin">
  728. <summary>Specifies the position in a stream to use for seeking.</summary>
  729. <filterpriority>2</filterpriority>
  730. </member>
  731. <member name="F:System.IO.SeekOrigin.Begin">
  732. <summary>Specifies the beginning of a stream.</summary>
  733. </member>
  734. <member name="F:System.IO.SeekOrigin.Current">
  735. <summary>Specifies the current position within a stream.</summary>
  736. </member>
  737. <member name="F:System.IO.SeekOrigin.End">
  738. <summary>Specifies the end of a stream.</summary>
  739. </member>
  740. <member name="T:System.IO.Stream">
  741. <summary>Provides a generic view of a sequence of bytes. This is an abstract class.To browse the .NET Framework source code for this type, see the Reference Source.</summary>
  742. <filterpriority>2</filterpriority>
  743. </member>
  744. <member name="M:System.IO.Stream.#ctor">
  745. <summary>Initializes a new instance of the <see cref="T:System.IO.Stream" /> class. </summary>
  746. </member>
  747. <member name="P:System.IO.Stream.CanRead">
  748. <summary>When overridden in a derived class, gets a value indicating whether the current stream supports reading.</summary>
  749. <returns>true if the stream supports reading; otherwise, false.</returns>
  750. <filterpriority>1</filterpriority>
  751. </member>
  752. <member name="P:System.IO.Stream.CanSeek">
  753. <summary>When overridden in a derived class, gets a value indicating whether the current stream supports seeking.</summary>
  754. <returns>true if the stream supports seeking; otherwise, false.</returns>
  755. <filterpriority>1</filterpriority>
  756. </member>
  757. <member name="P:System.IO.Stream.CanTimeout">
  758. <summary>Gets a value that determines whether the current stream can time out.</summary>
  759. <returns>A value that determines whether the current stream can time out.</returns>
  760. <filterpriority>2</filterpriority>
  761. </member>
  762. <member name="P:System.IO.Stream.CanWrite">
  763. <summary>When overridden in a derived class, gets a value indicating whether the current stream supports writing.</summary>
  764. <returns>true if the stream supports writing; otherwise, false.</returns>
  765. <filterpriority>1</filterpriority>
  766. </member>
  767. <member name="M:System.IO.Stream.CopyTo(System.IO.Stream)">
  768. <summary>Reads the bytes from the current stream and writes them to another stream.</summary>
  769. <param name="destination">The stream to which the contents of the current stream will be copied.</param>
  770. <exception cref="T:System.ArgumentNullException">
  771. <paramref name="destination" /> is null.</exception>
  772. <exception cref="T:System.NotSupportedException">The current stream does not support reading.-or-<paramref name="destination" /> does not support writing.</exception>
  773. <exception cref="T:System.ObjectDisposedException">Either the current stream or <paramref name="destination" /> were closed before the <see cref="M:System.IO.Stream.CopyTo(System.IO.Stream)" /> method was called.</exception>
  774. <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
  775. </member>
  776. <member name="M:System.IO.Stream.CopyTo(System.IO.Stream,System.Int32)">
  777. <summary>Reads the bytes from the current stream and writes them to another stream, using a specified buffer size.</summary>
  778. <param name="destination">The stream to which the contents of the current stream will be copied.</param>
  779. <param name="bufferSize">The size of the buffer. This value must be greater than zero. The default size is 81920.</param>
  780. <exception cref="T:System.ArgumentNullException">
  781. <paramref name="destination" /> is null.</exception>
  782. <exception cref="T:System.ArgumentOutOfRangeException">
  783. <paramref name="bufferSize" /> is negative or zero.</exception>
  784. <exception cref="T:System.NotSupportedException">The current stream does not support reading.-or-<paramref name="destination" /> does not support writing.</exception>
  785. <exception cref="T:System.ObjectDisposedException">Either the current stream or <paramref name="destination" /> were closed before the <see cref="M:System.IO.Stream.CopyTo(System.IO.Stream)" /> method was called.</exception>
  786. <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
  787. </member>
  788. <member name="M:System.IO.Stream.CopyToAsync(System.IO.Stream)">
  789. <summary>Asynchronously reads the bytes from the current stream and writes them to another stream.</summary>
  790. <returns>A task that represents the asynchronous copy operation.</returns>
  791. <param name="destination">The stream to which the contents of the current stream will be copied.</param>
  792. <exception cref="T:System.ArgumentNullException">
  793. <paramref name="destination" /> is null.</exception>
  794. <exception cref="T:System.ObjectDisposedException">Either the current stream or the destination stream is disposed.</exception>
  795. <exception cref="T:System.NotSupportedException">The current stream does not support reading, or the destination stream does not support writing.</exception>
  796. </member>
  797. <member name="M:System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32)">
  798. <summary>Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size.</summary>
  799. <returns>A task that represents the asynchronous copy operation.</returns>
  800. <param name="destination">The stream to which the contents of the current stream will be copied.</param>
  801. <param name="bufferSize">The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920.</param>
  802. <exception cref="T:System.ArgumentNullException">
  803. <paramref name="destination" /> is null.</exception>
  804. <exception cref="T:System.ArgumentOutOfRangeException">
  805. <paramref name="buffersize" /> is negative or zero.</exception>
  806. <exception cref="T:System.ObjectDisposedException">Either the current stream or the destination stream is disposed.</exception>
  807. <exception cref="T:System.NotSupportedException">The current stream does not support reading, or the destination stream does not support writing.</exception>
  808. </member>
  809. <member name="M:System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)">
  810. <summary>Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.</summary>
  811. <returns>A task that represents the asynchronous copy operation.</returns>
  812. <param name="destination">The stream to which the contents of the current stream will be copied.</param>
  813. <param name="bufferSize">The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920.</param>
  814. <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
  815. <exception cref="T:System.ArgumentNullException">
  816. <paramref name="destination" /> is null.</exception>
  817. <exception cref="T:System.ArgumentOutOfRangeException">
  818. <paramref name="buffersize" /> is negative or zero.</exception>
  819. <exception cref="T:System.ObjectDisposedException">Either the current stream or the destination stream is disposed.</exception>
  820. <exception cref="T:System.NotSupportedException">The current stream does not support reading, or the destination stream does not support writing.</exception>
  821. </member>
  822. <member name="M:System.IO.Stream.Dispose">
  823. <summary>Releases all resources used by the <see cref="T:System.IO.Stream" />.</summary>
  824. </member>
  825. <member name="M:System.IO.Stream.Dispose(System.Boolean)">
  826. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.Stream" /> and optionally releases the managed resources.</summary>
  827. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
  828. </member>
  829. <member name="M:System.IO.Stream.Flush">
  830. <summary>When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.</summary>
  831. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  832. <filterpriority>2</filterpriority>
  833. </member>
  834. <member name="M:System.IO.Stream.FlushAsync">
  835. <summary>Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device.</summary>
  836. <returns>A task that represents the asynchronous flush operation.</returns>
  837. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  838. </member>
  839. <member name="M:System.IO.Stream.FlushAsync(System.Threading.CancellationToken)">
  840. <summary>Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.</summary>
  841. <returns>A task that represents the asynchronous flush operation.</returns>
  842. <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
  843. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  844. </member>
  845. <member name="P:System.IO.Stream.Length">
  846. <summary>When overridden in a derived class, gets the length in bytes of the stream.</summary>
  847. <returns>A long value representing the length of the stream in bytes.</returns>
  848. <exception cref="T:System.NotSupportedException">A class derived from Stream does not support seeking. </exception>
  849. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  850. <filterpriority>1</filterpriority>
  851. </member>
  852. <member name="F:System.IO.Stream.Null">
  853. <summary>A Stream with no backing store.</summary>
  854. <filterpriority>1</filterpriority>
  855. </member>
  856. <member name="P:System.IO.Stream.Position">
  857. <summary>When overridden in a derived class, gets or sets the position within the current stream.</summary>
  858. <returns>The current position within the stream.</returns>
  859. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  860. <exception cref="T:System.NotSupportedException">The stream does not support seeking. </exception>
  861. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  862. <filterpriority>1</filterpriority>
  863. </member>
  864. <member name="M:System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32)">
  865. <summary>When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</summary>
  866. <returns>The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</returns>
  867. <param name="buffer">An array of bytes. When this method returns, the buffer contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source. </param>
  868. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin storing the data read from the current stream. </param>
  869. <param name="count">The maximum number of bytes to be read from the current stream. </param>
  870. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length. </exception>
  871. <exception cref="T:System.ArgumentNullException">
  872. <paramref name="buffer" /> is null. </exception>
  873. <exception cref="T:System.ArgumentOutOfRangeException">
  874. <paramref name="offset" /> or <paramref name="count" /> is negative. </exception>
  875. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  876. <exception cref="T:System.NotSupportedException">The stream does not support reading. </exception>
  877. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  878. <filterpriority>1</filterpriority>
  879. </member>
  880. <member name="M:System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32)">
  881. <summary>Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</summary>
  882. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. </returns>
  883. <param name="buffer">The buffer to write the data into.</param>
  884. <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
  885. <param name="count">The maximum number of bytes to read.</param>
  886. <exception cref="T:System.ArgumentNullException">
  887. <paramref name="buffer" /> is null.</exception>
  888. <exception cref="T:System.ArgumentOutOfRangeException">
  889. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  890. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  891. <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
  892. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  893. <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation. </exception>
  894. </member>
  895. <member name="M:System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  896. <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
  897. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. </returns>
  898. <param name="buffer">The buffer to write the data into.</param>
  899. <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
  900. <param name="count">The maximum number of bytes to read.</param>
  901. <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
  902. <exception cref="T:System.ArgumentNullException">
  903. <paramref name="buffer" /> is null.</exception>
  904. <exception cref="T:System.ArgumentOutOfRangeException">
  905. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  906. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  907. <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
  908. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  909. <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation. </exception>
  910. </member>
  911. <member name="M:System.IO.Stream.ReadByte">
  912. <summary>Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.</summary>
  913. <returns>The unsigned byte cast to an Int32, or -1 if at the end of the stream.</returns>
  914. <exception cref="T:System.NotSupportedException">The stream does not support reading. </exception>
  915. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  916. <filterpriority>2</filterpriority>
  917. </member>
  918. <member name="P:System.IO.Stream.ReadTimeout">
  919. <summary>Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. </summary>
  920. <returns>A value, in miliseconds, that determines how long the stream will attempt to read before timing out.</returns>
  921. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.IO.Stream.ReadTimeout" /> method always throws an <see cref="T:System.InvalidOperationException" />. </exception>
  922. <filterpriority>2</filterpriority>
  923. </member>
  924. <member name="M:System.IO.Stream.Seek(System.Int64,System.IO.SeekOrigin)">
  925. <summary>When overridden in a derived class, sets the position within the current stream.</summary>
  926. <returns>The new position within the current stream.</returns>
  927. <param name="offset">A byte offset relative to the <paramref name="origin" /> parameter. </param>
  928. <param name="origin">A value of type <see cref="T:System.IO.SeekOrigin" /> indicating the reference point used to obtain the new position. </param>
  929. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  930. <exception cref="T:System.NotSupportedException">The stream does not support seeking, such as if the stream is constructed from a pipe or console output. </exception>
  931. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  932. <filterpriority>1</filterpriority>
  933. </member>
  934. <member name="M:System.IO.Stream.SetLength(System.Int64)">
  935. <summary>When overridden in a derived class, sets the length of the current stream.</summary>
  936. <param name="value">The desired length of the current stream in bytes. </param>
  937. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  938. <exception cref="T:System.NotSupportedException">The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. </exception>
  939. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  940. <filterpriority>2</filterpriority>
  941. </member>
  942. <member name="M:System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)">
  943. <summary>When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.</summary>
  944. <param name="buffer">An array of bytes. This method copies <paramref name="count" /> bytes from <paramref name="buffer" /> to the current stream. </param>
  945. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream. </param>
  946. <param name="count">The number of bytes to be written to the current stream. </param>
  947. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is greater than the buffer length.</exception>
  948. <exception cref="T:System.ArgumentNullException">
  949. <paramref name="buffer" /> is null.</exception>
  950. <exception cref="T:System.ArgumentOutOfRangeException">
  951. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  952. <exception cref="T:System.IO.IOException">An I/O error occured, such as the specified file cannot be found.</exception>
  953. <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
  954. <exception cref="T:System.ObjectDisposedException">
  955. <see cref="M:System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)" /> was called after the stream was closed.</exception>
  956. <filterpriority>1</filterpriority>
  957. </member>
  958. <member name="M:System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32)">
  959. <summary>Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.</summary>
  960. <returns>A task that represents the asynchronous write operation.</returns>
  961. <param name="buffer">The buffer to write data from.</param>
  962. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
  963. <param name="count">The maximum number of bytes to write.</param>
  964. <exception cref="T:System.ArgumentNullException">
  965. <paramref name="buffer" /> is null.</exception>
  966. <exception cref="T:System.ArgumentOutOfRangeException">
  967. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  968. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  969. <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
  970. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  971. <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation. </exception>
  972. </member>
  973. <member name="M:System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  974. <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
  975. <returns>A task that represents the asynchronous write operation.</returns>
  976. <param name="buffer">The buffer to write data from.</param>
  977. <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
  978. <param name="count">The maximum number of bytes to write.</param>
  979. <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
  980. <exception cref="T:System.ArgumentNullException">
  981. <paramref name="buffer" /> is null.</exception>
  982. <exception cref="T:System.ArgumentOutOfRangeException">
  983. <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
  984. <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  985. <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
  986. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  987. <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation. </exception>
  988. </member>
  989. <member name="M:System.IO.Stream.WriteByte(System.Byte)">
  990. <summary>Writes a byte to the current position in the stream and advances the position within the stream by one byte.</summary>
  991. <param name="value">The byte to write to the stream. </param>
  992. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  993. <exception cref="T:System.NotSupportedException">The stream does not support writing, or the stream is already closed. </exception>
  994. <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception>
  995. <filterpriority>2</filterpriority>
  996. </member>
  997. <member name="P:System.IO.Stream.WriteTimeout">
  998. <summary>Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. </summary>
  999. <returns>A value, in miliseconds, that determines how long the stream will attempt to write before timing out.</returns>
  1000. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.IO.Stream.WriteTimeout" /> method always throws an <see cref="T:System.InvalidOperationException" />. </exception>
  1001. <filterpriority>2</filterpriority>
  1002. </member>
  1003. <member name="T:System.IO.StreamReader">
  1004. <summary>Implements a <see cref="T:System.IO.TextReader" /> that reads characters from a byte stream in a particular encoding.To browse the .NET Framework source code for this type, see the Reference Source.</summary>
  1005. <filterpriority>1</filterpriority>
  1006. </member>
  1007. <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream)">
  1008. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream.</summary>
  1009. <param name="stream">The stream to be read. </param>
  1010. <exception cref="T:System.ArgumentException">
  1011. <paramref name="stream" /> does not support reading. </exception>
  1012. <exception cref="T:System.ArgumentNullException">
  1013. <paramref name="stream" /> is null. </exception>
  1014. </member>
  1015. <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Boolean)">
  1016. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified byte order mark detection option.</summary>
  1017. <param name="stream">The stream to be read. </param>
  1018. <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file. </param>
  1019. <exception cref="T:System.ArgumentException">
  1020. <paramref name="stream" /> does not support reading. </exception>
  1021. <exception cref="T:System.ArgumentNullException">
  1022. <paramref name="stream" /> is null. </exception>
  1023. </member>
  1024. <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding)">
  1025. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified character encoding.</summary>
  1026. <param name="stream">The stream to be read. </param>
  1027. <param name="encoding">The character encoding to use. </param>
  1028. <exception cref="T:System.ArgumentException">
  1029. <paramref name="stream" /> does not support reading. </exception>
  1030. <exception cref="T:System.ArgumentNullException">
  1031. <paramref name="stream" /> or <paramref name="encoding" /> is null. </exception>
  1032. </member>
  1033. <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean)">
  1034. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified character encoding and byte order mark detection option.</summary>
  1035. <param name="stream">The stream to be read. </param>
  1036. <param name="encoding">The character encoding to use. </param>
  1037. <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file. </param>
  1038. <exception cref="T:System.ArgumentException">
  1039. <paramref name="stream" /> does not support reading. </exception>
  1040. <exception cref="T:System.ArgumentNullException">
  1041. <paramref name="stream" /> or <paramref name="encoding" /> is null. </exception>
  1042. </member>
  1043. <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Int32)">
  1044. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified character encoding, byte order mark detection option, and buffer size.</summary>
  1045. <param name="stream">The stream to be read. </param>
  1046. <param name="encoding">The character encoding to use. </param>
  1047. <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file. </param>
  1048. <param name="bufferSize">The minimum buffer size. </param>
  1049. <exception cref="T:System.ArgumentException">The stream does not support reading. </exception>
  1050. <exception cref="T:System.ArgumentNullException">
  1051. <paramref name="stream" /> or <paramref name="encoding" /> is null. </exception>
  1052. <exception cref="T:System.ArgumentOutOfRangeException">
  1053. <paramref name="bufferSize" /> is less than or equal to zero. </exception>
  1054. </member>
  1055. <member name="M:System.IO.StreamReader.#ctor(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Int32,System.Boolean)">
  1056. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream based on the specified character encoding, byte order mark detection option, and buffer size, and optionally leaves the stream open.</summary>
  1057. <param name="stream">The stream to read.</param>
  1058. <param name="encoding">The character encoding to use.</param>
  1059. <param name="detectEncodingFromByteOrderMarks">true to look for byte order marks at the beginning of the file; otherwise, false.</param>
  1060. <param name="bufferSize">The minimum buffer size.</param>
  1061. <param name="leaveOpen">true to leave the stream open after the <see cref="T:System.IO.StreamReader" /> object is disposed; otherwise, false.</param>
  1062. </member>
  1063. <member name="P:System.IO.StreamReader.BaseStream">
  1064. <summary>Returns the underlying stream.</summary>
  1065. <returns>The underlying stream.</returns>
  1066. <filterpriority>2</filterpriority>
  1067. </member>
  1068. <member name="P:System.IO.StreamReader.CurrentEncoding">
  1069. <summary>Gets the current character encoding that the current <see cref="T:System.IO.StreamReader" /> object is using.</summary>
  1070. <returns>The current character encoding used by the current reader. The value can be different after the first call to any <see cref="Overload:System.IO.StreamReader.Read" /> method of <see cref="T:System.IO.StreamReader" />, since encoding autodetection is not done until the first call to a <see cref="Overload:System.IO.StreamReader.Read" /> method.</returns>
  1071. <filterpriority>2</filterpriority>
  1072. </member>
  1073. <member name="M:System.IO.StreamReader.DiscardBufferedData">
  1074. <summary>Clears the internal buffer.</summary>
  1075. <filterpriority>2</filterpriority>
  1076. </member>
  1077. <member name="M:System.IO.StreamReader.Dispose(System.Boolean)">
  1078. <summary>Closes the underlying stream, releases the unmanaged resources used by the <see cref="T:System.IO.StreamReader" />, and optionally releases the managed resources.</summary>
  1079. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  1080. </member>
  1081. <member name="P:System.IO.StreamReader.EndOfStream">
  1082. <summary>Gets a value that indicates whether the current stream position is at the end of the stream.</summary>
  1083. <returns>true if the current stream position is at the end of the stream; otherwise false.</returns>
  1084. <exception cref="T:System.ObjectDisposedException">The underlying stream has been disposed.</exception>
  1085. <filterpriority>1</filterpriority>
  1086. </member>
  1087. <member name="F:System.IO.StreamReader.Null">
  1088. <summary>A <see cref="T:System.IO.StreamReader" /> object around an empty stream.</summary>
  1089. <filterpriority>1</filterpriority>
  1090. </member>
  1091. <member name="M:System.IO.StreamReader.Peek">
  1092. <summary>Returns the next available character but does not consume it.</summary>
  1093. <returns>An integer representing the next character to be read, or -1 if there are no characters to be read or if the stream does not support seeking.</returns>
  1094. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1095. <filterpriority>1</filterpriority>
  1096. </member>
  1097. <member name="M:System.IO.StreamReader.Read">
  1098. <summary>Reads the next character from the input stream and advances the character position by one character.</summary>
  1099. <returns>The next character from the input stream represented as an <see cref="T:System.Int32" /> object, or -1 if no more characters are available.</returns>
  1100. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1101. <filterpriority>1</filterpriority>
  1102. </member>
  1103. <member name="M:System.IO.StreamReader.Read(System.Char[],System.Int32,System.Int32)">
  1104. <summary>Reads a specified maximum of characters from the current stream into a buffer, beginning at the specified index.</summary>
  1105. <returns>The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the <paramref name="count" /> parameter, depending on whether the data is available within the stream.</returns>
  1106. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index + count - 1" />) replaced by the characters read from the current source. </param>
  1107. <param name="index">The index of <paramref name="buffer" /> at which to begin writing. </param>
  1108. <param name="count">The maximum number of characters to read. </param>
  1109. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1110. <exception cref="T:System.ArgumentNullException">
  1111. <paramref name="buffer" /> is null. </exception>
  1112. <exception cref="T:System.ArgumentOutOfRangeException">
  1113. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1114. <exception cref="T:System.IO.IOException">An I/O error occurs, such as the stream is closed. </exception>
  1115. <filterpriority>1</filterpriority>
  1116. </member>
  1117. <member name="M:System.IO.StreamReader.ReadAsync(System.Char[],System.Int32,System.Int32)">
  1118. <summary>Reads a specified maximum number of characters from the current stream asynchronously and writes the data to a buffer, beginning at the specified index. </summary>
  1119. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
  1120. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
  1121. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1122. <param name="count">The maximum number of characters to read. If the end of the stream is reached before the specified number of characters is written into the buffer, the current method returns.</param>
  1123. <exception cref="T:System.ArgumentNullException">
  1124. <paramref name="buffer" /> is null.</exception>
  1125. <exception cref="T:System.ArgumentOutOfRangeException">
  1126. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1127. <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  1128. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  1129. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1130. </member>
  1131. <member name="M:System.IO.StreamReader.ReadBlock(System.Char[],System.Int32,System.Int32)">
  1132. <summary>Reads a specified maximum number of characters from the current stream and writes the data to a buffer, beginning at the specified index.</summary>
  1133. <returns>The number of characters that have been read. The number will be less than or equal to <paramref name="count" />, depending on whether all input characters have been read.</returns>
  1134. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index + count - 1" />) replaced by the characters read from the current source.</param>
  1135. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1136. <param name="count">The maximum number of characters to read.</param>
  1137. <exception cref="T:System.ArgumentNullException">
  1138. <paramref name="buffer" /> is null. </exception>
  1139. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1140. <exception cref="T:System.ArgumentOutOfRangeException">
  1141. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1142. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.StreamReader" /> is closed. </exception>
  1143. <exception cref="T:System.IO.IOException">An I/O error occurred. </exception>
  1144. </member>
  1145. <member name="M:System.IO.StreamReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)">
  1146. <summary>Reads a specified maximum number of characters from the current stream asynchronously and writes the data to a buffer, beginning at the specified index.</summary>
  1147. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
  1148. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
  1149. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1150. <param name="count">The maximum number of characters to read. If the end of the stream is reached before the specified number of characters is written into the buffer, the method returns.</param>
  1151. <exception cref="T:System.ArgumentNullException">
  1152. <paramref name="buffer" /> is null.</exception>
  1153. <exception cref="T:System.ArgumentOutOfRangeException">
  1154. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1155. <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  1156. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  1157. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1158. </member>
  1159. <member name="M:System.IO.StreamReader.ReadLine">
  1160. <summary>Reads a line of characters from the current stream and returns the data as a string.</summary>
  1161. <returns>The next line from the input stream, or null if the end of the input stream is reached.</returns>
  1162. <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string. </exception>
  1163. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1164. <filterpriority>1</filterpriority>
  1165. </member>
  1166. <member name="M:System.IO.StreamReader.ReadLineAsync">
  1167. <summary>Reads a line of characters asynchronously from the current stream and returns the data as a string.</summary>
  1168. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the next line from the stream, or is null if all the characters have been read.</returns>
  1169. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
  1170. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  1171. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1172. </member>
  1173. <member name="M:System.IO.StreamReader.ReadToEnd">
  1174. <summary>Reads all characters from the current position to the end of the stream.</summary>
  1175. <returns>The rest of the stream as a string, from the current position to the end. If the current position is at the end of the stream, returns an empty string ("").</returns>
  1176. <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string. </exception>
  1177. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1178. <filterpriority>1</filterpriority>
  1179. </member>
  1180. <member name="M:System.IO.StreamReader.ReadToEndAsync">
  1181. <summary>Reads all characters from the current position to the end of the stream asynchronously and returns them as one string.</summary>
  1182. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains a string with the characters from the current position to the end of the stream.</returns>
  1183. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
  1184. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  1185. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1186. </member>
  1187. <member name="T:System.IO.StreamWriter">
  1188. <summary>Implements a <see cref="T:System.IO.TextWriter" /> for writing characters to a stream in a particular encoding.To browse the .NET Framework source code for this type, see the Reference Source.</summary>
  1189. <filterpriority>1</filterpriority>
  1190. </member>
  1191. <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream)">
  1192. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using UTF-8 encoding and the default buffer size.</summary>
  1193. <param name="stream">The stream to write to. </param>
  1194. <exception cref="T:System.ArgumentException">
  1195. <paramref name="stream" /> is not writable. </exception>
  1196. <exception cref="T:System.ArgumentNullException">
  1197. <paramref name="stream" /> is null. </exception>
  1198. </member>
  1199. <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream,System.Text.Encoding)">
  1200. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using the specified encoding and the default buffer size.</summary>
  1201. <param name="stream">The stream to write to. </param>
  1202. <param name="encoding">The character encoding to use. </param>
  1203. <exception cref="T:System.ArgumentNullException">
  1204. <paramref name="stream" /> or <paramref name="encoding" /> is null. </exception>
  1205. <exception cref="T:System.ArgumentException">
  1206. <paramref name="stream" /> is not writable. </exception>
  1207. </member>
  1208. <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream,System.Text.Encoding,System.Int32)">
  1209. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using the specified encoding and buffer size.</summary>
  1210. <param name="stream">The stream to write to. </param>
  1211. <param name="encoding">The character encoding to use. </param>
  1212. <param name="bufferSize">The buffer size, in bytes. </param>
  1213. <exception cref="T:System.ArgumentNullException">
  1214. <paramref name="stream" /> or <paramref name="encoding" /> is null. </exception>
  1215. <exception cref="T:System.ArgumentOutOfRangeException">
  1216. <paramref name="bufferSize" /> is negative. </exception>
  1217. <exception cref="T:System.ArgumentException">
  1218. <paramref name="stream" /> is not writable. </exception>
  1219. </member>
  1220. <member name="M:System.IO.StreamWriter.#ctor(System.IO.Stream,System.Text.Encoding,System.Int32,System.Boolean)">
  1221. <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using the specified encoding and buffer size, and optionally leaves the stream open.</summary>
  1222. <param name="stream">The stream to write to.</param>
  1223. <param name="encoding">The character encoding to use.</param>
  1224. <param name="bufferSize">The buffer size, in bytes.</param>
  1225. <param name="leaveOpen">true to leave the stream open after the <see cref="T:System.IO.StreamWriter" /> object is disposed; otherwise, false.</param>
  1226. <exception cref="T:System.ArgumentNullException">
  1227. <paramref name="stream" /> or <paramref name="encoding" /> is null. </exception>
  1228. <exception cref="T:System.ArgumentOutOfRangeException">
  1229. <paramref name="bufferSize" /> is negative. </exception>
  1230. <exception cref="T:System.ArgumentException">
  1231. <paramref name="stream" /> is not writable. </exception>
  1232. </member>
  1233. <member name="P:System.IO.StreamWriter.AutoFlush">
  1234. <summary>Gets or sets a value indicating whether the <see cref="T:System.IO.StreamWriter" /> will flush its buffer to the underlying stream after every call to <see cref="M:System.IO.StreamWriter.Write(System.Char)" />.</summary>
  1235. <returns>true to force <see cref="T:System.IO.StreamWriter" /> to flush its buffer; otherwise, false.</returns>
  1236. <filterpriority>1</filterpriority>
  1237. </member>
  1238. <member name="P:System.IO.StreamWriter.BaseStream">
  1239. <summary>Gets the underlying stream that interfaces with a backing store.</summary>
  1240. <returns>The stream this StreamWriter is writing to.</returns>
  1241. <filterpriority>2</filterpriority>
  1242. </member>
  1243. <member name="M:System.IO.StreamWriter.Dispose(System.Boolean)">
  1244. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StreamWriter" /> and optionally releases the managed resources.</summary>
  1245. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  1246. <exception cref="T:System.Text.EncoderFallbackException">The current encoding does not support displaying half of a Unicode surrogate pair.</exception>
  1247. </member>
  1248. <member name="P:System.IO.StreamWriter.Encoding">
  1249. <summary>Gets the <see cref="T:System.Text.Encoding" /> in which the output is written.</summary>
  1250. <returns>The <see cref="T:System.Text.Encoding" /> specified in the constructor for the current instance, or <see cref="T:System.Text.UTF8Encoding" /> if an encoding was not specified.</returns>
  1251. <filterpriority>2</filterpriority>
  1252. </member>
  1253. <member name="M:System.IO.StreamWriter.Flush">
  1254. <summary>Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.</summary>
  1255. <exception cref="T:System.ObjectDisposedException">The current writer is closed. </exception>
  1256. <exception cref="T:System.IO.IOException">An I/O error has occurred. </exception>
  1257. <exception cref="T:System.Text.EncoderFallbackException">The current encoding does not support displaying half of a Unicode surrogate pair. </exception>
  1258. <filterpriority>1</filterpriority>
  1259. </member>
  1260. <member name="M:System.IO.StreamWriter.FlushAsync">
  1261. <summary>Clears all buffers for this stream asynchronously and causes any buffered data to be written to the underlying device.</summary>
  1262. <returns>A task that represents the asynchronous flush operation.</returns>
  1263. <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
  1264. </member>
  1265. <member name="F:System.IO.StreamWriter.Null">
  1266. <summary>Provides a StreamWriter with no backing store that can be written to, but not read from.</summary>
  1267. <filterpriority>1</filterpriority>
  1268. </member>
  1269. <member name="M:System.IO.StreamWriter.Write(System.Char)">
  1270. <summary>Writes a character to the stream.</summary>
  1271. <param name="value">The character to write to the stream. </param>
  1272. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1273. <exception cref="T:System.ObjectDisposedException">
  1274. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed. </exception>
  1275. <exception cref="T:System.NotSupportedException">
  1276. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream. </exception>
  1277. <filterpriority>1</filterpriority>
  1278. </member>
  1279. <member name="M:System.IO.StreamWriter.Write(System.Char[])">
  1280. <summary>Writes a character array to the stream.</summary>
  1281. <param name="buffer">A character array containing the data to write. If <paramref name="buffer" /> is null, nothing is written. </param>
  1282. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1283. <exception cref="T:System.ObjectDisposedException">
  1284. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed. </exception>
  1285. <exception cref="T:System.NotSupportedException">
  1286. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream. </exception>
  1287. <filterpriority>1</filterpriority>
  1288. </member>
  1289. <member name="M:System.IO.StreamWriter.Write(System.Char[],System.Int32,System.Int32)">
  1290. <summary>Writes a subarray of characters to the stream.</summary>
  1291. <param name="buffer">A character array that contains the data to write. </param>
  1292. <param name="index">The character position in the buffer at which to start reading data. </param>
  1293. <param name="count">The maximum number of characters to write. </param>
  1294. <exception cref="T:System.ArgumentNullException">
  1295. <paramref name="buffer" /> is null. </exception>
  1296. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1297. <exception cref="T:System.ArgumentOutOfRangeException">
  1298. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1299. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1300. <exception cref="T:System.ObjectDisposedException">
  1301. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed. </exception>
  1302. <exception cref="T:System.NotSupportedException">
  1303. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream. </exception>
  1304. <filterpriority>1</filterpriority>
  1305. </member>
  1306. <member name="M:System.IO.StreamWriter.Write(System.String)">
  1307. <summary>Writes a string to the stream.</summary>
  1308. <param name="value">The string to write to the stream. If <paramref name="value" /> is null, nothing is written. </param>
  1309. <exception cref="T:System.ObjectDisposedException">
  1310. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed. </exception>
  1311. <exception cref="T:System.NotSupportedException">
  1312. <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream. </exception>
  1313. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1314. <filterpriority>1</filterpriority>
  1315. </member>
  1316. <member name="M:System.IO.StreamWriter.WriteAsync(System.Char)">
  1317. <summary>Writes a character to the stream asynchronously.</summary>
  1318. <returns>A task that represents the asynchronous write operation.</returns>
  1319. <param name="value">The character to write to the stream.</param>
  1320. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1321. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation.</exception>
  1322. </member>
  1323. <member name="M:System.IO.StreamWriter.WriteAsync(System.Char[],System.Int32,System.Int32)">
  1324. <summary>Writes a subarray of characters to the stream asynchronously.</summary>
  1325. <returns>A task that represents the asynchronous write operation.</returns>
  1326. <param name="buffer">A character array that contains the data to write.</param>
  1327. <param name="index">The character position in the buffer at which to begin reading data.</param>
  1328. <param name="count">The maximum number of characters to write.</param>
  1329. <exception cref="T:System.ArgumentNullException">
  1330. <paramref name="buffer" /> is null.</exception>
  1331. <exception cref="T:System.ArgumentException">The <paramref name="index" /> plus <paramref name="count" /> is greater than the buffer length.</exception>
  1332. <exception cref="T:System.ArgumentOutOfRangeException">
  1333. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1334. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1335. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation. </exception>
  1336. </member>
  1337. <member name="M:System.IO.StreamWriter.WriteAsync(System.String)">
  1338. <summary>Writes a string to the stream asynchronously.</summary>
  1339. <returns>A task that represents the asynchronous write operation.</returns>
  1340. <param name="value">The string to write to the stream. If <paramref name="value" /> is null, nothing is written.</param>
  1341. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1342. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation.</exception>
  1343. </member>
  1344. <member name="M:System.IO.StreamWriter.WriteLineAsync">
  1345. <summary>Writes a line terminator asynchronously to the stream.</summary>
  1346. <returns>A task that represents the asynchronous write operation.</returns>
  1347. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1348. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation.</exception>
  1349. </member>
  1350. <member name="M:System.IO.StreamWriter.WriteLineAsync(System.Char)">
  1351. <summary>Writes a character followed by a line terminator asynchronously to the stream.</summary>
  1352. <returns>A task that represents the asynchronous write operation.</returns>
  1353. <param name="value">The character to write to the stream.</param>
  1354. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1355. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation.</exception>
  1356. </member>
  1357. <member name="M:System.IO.StreamWriter.WriteLineAsync(System.Char[],System.Int32,System.Int32)">
  1358. <summary>Writes a subarray of characters followed by a line terminator asynchronously to the stream.</summary>
  1359. <returns>A task that represents the asynchronous write operation.</returns>
  1360. <param name="buffer">The character array to write data from.</param>
  1361. <param name="index">The character position in the buffer at which to start reading data.</param>
  1362. <param name="count">The maximum number of characters to write.</param>
  1363. <exception cref="T:System.ArgumentNullException">
  1364. <paramref name="buffer" /> is null.</exception>
  1365. <exception cref="T:System.ArgumentException">The <paramref name="index" /> plus <paramref name="count" /> is greater than the buffer length.</exception>
  1366. <exception cref="T:System.ArgumentOutOfRangeException">
  1367. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1368. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1369. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation. </exception>
  1370. </member>
  1371. <member name="M:System.IO.StreamWriter.WriteLineAsync(System.String)">
  1372. <summary>Writes a string followed by a line terminator asynchronously to the stream.</summary>
  1373. <returns>A task that represents the asynchronous write operation.</returns>
  1374. <param name="value">The string to write. If the value is null, only a line terminator is written. </param>
  1375. <exception cref="T:System.ObjectDisposedException">The stream writer is disposed.</exception>
  1376. <exception cref="T:System.InvalidOperationException">The stream writer is currently in use by a previous write operation.</exception>
  1377. </member>
  1378. <member name="T:System.IO.StringReader">
  1379. <summary>Implements a <see cref="T:System.IO.TextReader" /> that reads from a string.</summary>
  1380. <filterpriority>2</filterpriority>
  1381. </member>
  1382. <member name="M:System.IO.StringReader.#ctor(System.String)">
  1383. <summary>Initializes a new instance of the <see cref="T:System.IO.StringReader" /> class that reads from the specified string.</summary>
  1384. <param name="s">The string to which the <see cref="T:System.IO.StringReader" /> should be initialized. </param>
  1385. <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is null. </exception>
  1386. </member>
  1387. <member name="M:System.IO.StringReader.Dispose(System.Boolean)">
  1388. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StringReader" /> and optionally releases the managed resources.</summary>
  1389. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  1390. </member>
  1391. <member name="M:System.IO.StringReader.Peek">
  1392. <summary>Returns the next available character but does not consume it.</summary>
  1393. <returns>An integer representing the next character to be read, or -1 if no more characters are available or the stream does not support seeking.</returns>
  1394. <exception cref="T:System.ObjectDisposedException">The current reader is closed. </exception>
  1395. <filterpriority>2</filterpriority>
  1396. </member>
  1397. <member name="M:System.IO.StringReader.Read">
  1398. <summary>Reads the next character from the input string and advances the character position by one character.</summary>
  1399. <returns>The next character from the underlying string, or -1 if no more characters are available.</returns>
  1400. <exception cref="T:System.ObjectDisposedException">The current reader is closed. </exception>
  1401. <filterpriority>2</filterpriority>
  1402. </member>
  1403. <member name="M:System.IO.StringReader.Read(System.Char[],System.Int32,System.Int32)">
  1404. <summary>Reads a block of characters from the input string and advances the character position by <paramref name="count" />.</summary>
  1405. <returns>The total number of characters read into the buffer. This can be less than the number of characters requested if that many characters are not currently available, or zero if the end of the underlying string has been reached.</returns>
  1406. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source. </param>
  1407. <param name="index">The starting index in the buffer. </param>
  1408. <param name="count">The number of characters to read. </param>
  1409. <exception cref="T:System.ArgumentNullException">
  1410. <paramref name="buffer" /> is null. </exception>
  1411. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1412. <exception cref="T:System.ArgumentOutOfRangeException">
  1413. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1414. <exception cref="T:System.ObjectDisposedException">The current reader is closed. </exception>
  1415. <filterpriority>2</filterpriority>
  1416. </member>
  1417. <member name="M:System.IO.StringReader.ReadAsync(System.Char[],System.Int32,System.Int32)">
  1418. <summary>Reads a specified maximum number of characters from the current string asynchronously and writes the data to a buffer, beginning at the specified index. </summary>
  1419. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the string has been reached.</returns>
  1420. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
  1421. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1422. <param name="count">The maximum number of characters to read. If the end of the string is reached before the specified number of characters is written into the buffer, the method returns.</param>
  1423. <exception cref="T:System.ArgumentNullException">
  1424. <paramref name="buffer" /> is null.</exception>
  1425. <exception cref="T:System.ArgumentOutOfRangeException">
  1426. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1427. <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  1428. <exception cref="T:System.ObjectDisposedException">The string reader has been disposed.</exception>
  1429. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1430. </member>
  1431. <member name="M:System.IO.StringReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)">
  1432. <summary>Reads a specified maximum number of characters from the current string asynchronously and writes the data to a buffer, beginning at the specified index.</summary>
  1433. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the string has been reached.</returns>
  1434. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
  1435. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1436. <param name="count">The maximum number of characters to read. If the end of the string is reached before the specified number of characters is written into the buffer, the method returns.</param>
  1437. <exception cref="T:System.ArgumentNullException">
  1438. <paramref name="buffer" /> is null.</exception>
  1439. <exception cref="T:System.ArgumentOutOfRangeException">
  1440. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1441. <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  1442. <exception cref="T:System.ObjectDisposedException">The string reader has been disposed.</exception>
  1443. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1444. </member>
  1445. <member name="M:System.IO.StringReader.ReadLine">
  1446. <summary>Reads a line of characters from the current string and returns the data as a string.</summary>
  1447. <returns>The next line from the current string, or null if the end of the string is reached.</returns>
  1448. <exception cref="T:System.ObjectDisposedException">The current reader is closed. </exception>
  1449. <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string. </exception>
  1450. <filterpriority>2</filterpriority>
  1451. </member>
  1452. <member name="M:System.IO.StringReader.ReadLineAsync">
  1453. <summary>Reads a line of characters asynchronously from the current string and returns the data as a string.</summary>
  1454. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the next line from the string reader, or is null if all the characters have been read.</returns>
  1455. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
  1456. <exception cref="T:System.ObjectDisposedException">The string reader has been disposed.</exception>
  1457. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1458. </member>
  1459. <member name="M:System.IO.StringReader.ReadToEnd">
  1460. <summary>Reads all characters from the current position to the end of the string and returns them as a single string.</summary>
  1461. <returns>The content from the current position to the end of the underlying string.</returns>
  1462. <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string. </exception>
  1463. <exception cref="T:System.ObjectDisposedException">The current reader is closed. </exception>
  1464. <filterpriority>2</filterpriority>
  1465. </member>
  1466. <member name="M:System.IO.StringReader.ReadToEndAsync">
  1467. <summary>Reads all characters from the current position to the end of the string asynchronously and returns them as a single string.</summary>
  1468. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains a string with the characters from the current position to the end of the string. </returns>
  1469. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
  1470. <exception cref="T:System.ObjectDisposedException">The string reader has been disposed.</exception>
  1471. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1472. </member>
  1473. <member name="T:System.IO.StringWriter">
  1474. <summary>Implements a <see cref="T:System.IO.TextWriter" /> for writing information to a string. The information is stored in an underlying <see cref="T:System.Text.StringBuilder" />.</summary>
  1475. <filterpriority>2</filterpriority>
  1476. </member>
  1477. <member name="M:System.IO.StringWriter.#ctor">
  1478. <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class.</summary>
  1479. </member>
  1480. <member name="M:System.IO.StringWriter.#ctor(System.IFormatProvider)">
  1481. <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class with the specified format control.</summary>
  1482. <param name="formatProvider">An <see cref="T:System.IFormatProvider" /> object that controls formatting. </param>
  1483. </member>
  1484. <member name="M:System.IO.StringWriter.#ctor(System.Text.StringBuilder)">
  1485. <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class that writes to the specified <see cref="T:System.Text.StringBuilder" />.</summary>
  1486. <param name="sb">The StringBuilder to write to. </param>
  1487. <exception cref="T:System.ArgumentNullException">
  1488. <paramref name="sb" /> is null. </exception>
  1489. </member>
  1490. <member name="M:System.IO.StringWriter.#ctor(System.Text.StringBuilder,System.IFormatProvider)">
  1491. <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class that writes to the specified <see cref="T:System.Text.StringBuilder" /> and has the specified format provider.</summary>
  1492. <param name="sb">The StringBuilder to write to. </param>
  1493. <param name="formatProvider">An <see cref="T:System.IFormatProvider" /> object that controls formatting. </param>
  1494. <exception cref="T:System.ArgumentNullException">
  1495. <paramref name="sb" /> is null. </exception>
  1496. </member>
  1497. <member name="M:System.IO.StringWriter.Dispose(System.Boolean)">
  1498. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StringWriter" /> and optionally releases the managed resources.</summary>
  1499. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  1500. </member>
  1501. <member name="P:System.IO.StringWriter.Encoding">
  1502. <summary>Gets the <see cref="T:System.Text.Encoding" /> in which the output is written.</summary>
  1503. <returns>The Encoding in which the output is written.</returns>
  1504. <filterpriority>1</filterpriority>
  1505. </member>
  1506. <member name="M:System.IO.StringWriter.FlushAsync">
  1507. <summary>Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. </summary>
  1508. <returns>A task that represents the asynchronous flush operation.</returns>
  1509. </member>
  1510. <member name="M:System.IO.StringWriter.GetStringBuilder">
  1511. <summary>Returns the underlying <see cref="T:System.Text.StringBuilder" />.</summary>
  1512. <returns>The underlying StringBuilder.</returns>
  1513. <filterpriority>2</filterpriority>
  1514. </member>
  1515. <member name="M:System.IO.StringWriter.ToString">
  1516. <summary>Returns a string containing the characters written to the current StringWriter so far.</summary>
  1517. <returns>The string containing the characters written to the current StringWriter.</returns>
  1518. <filterpriority>2</filterpriority>
  1519. </member>
  1520. <member name="M:System.IO.StringWriter.Write(System.Char)">
  1521. <summary>Writes a character to the string.</summary>
  1522. <param name="value">The character to write. </param>
  1523. <exception cref="T:System.ObjectDisposedException">The writer is closed. </exception>
  1524. <filterpriority>2</filterpriority>
  1525. </member>
  1526. <member name="M:System.IO.StringWriter.Write(System.Char[],System.Int32,System.Int32)">
  1527. <summary>Writes a subarray of characters to the string.</summary>
  1528. <param name="buffer">The character array to write data from. </param>
  1529. <param name="index">The position in the buffer at which to start reading data.</param>
  1530. <param name="count">The maximum number of characters to write. </param>
  1531. <exception cref="T:System.ArgumentNullException">
  1532. <paramref name="buffer" /> is null. </exception>
  1533. <exception cref="T:System.ArgumentOutOfRangeException">
  1534. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1535. <exception cref="T:System.ArgumentException">(<paramref name="index" /> + <paramref name="count" />)&gt; <paramref name="buffer" />. Length. </exception>
  1536. <exception cref="T:System.ObjectDisposedException">The writer is closed. </exception>
  1537. <filterpriority>2</filterpriority>
  1538. </member>
  1539. <member name="M:System.IO.StringWriter.Write(System.String)">
  1540. <summary>Writes a string to the current string.</summary>
  1541. <param name="value">The string to write. </param>
  1542. <exception cref="T:System.ObjectDisposedException">The writer is closed. </exception>
  1543. <filterpriority>2</filterpriority>
  1544. </member>
  1545. <member name="M:System.IO.StringWriter.WriteAsync(System.Char)">
  1546. <summary>Writes a character to the string asynchronously.</summary>
  1547. <returns>A task that represents the asynchronous write operation.</returns>
  1548. <param name="value">The character to write to the string.</param>
  1549. <exception cref="T:System.ObjectDisposedException">The string writer is disposed.</exception>
  1550. <exception cref="T:System.InvalidOperationException">The string writer is currently in use by a previous write operation. </exception>
  1551. </member>
  1552. <member name="M:System.IO.StringWriter.WriteAsync(System.Char[],System.Int32,System.Int32)">
  1553. <summary>Writes a subarray of characters to the string asynchronously.</summary>
  1554. <returns>A task that represents the asynchronous write operation.</returns>
  1555. <param name="buffer">The character array to write data from.</param>
  1556. <param name="index">The position in the buffer at which to start reading data.</param>
  1557. <param name="count">The maximum number of characters to write.</param>
  1558. <exception cref="T:System.ArgumentNullException">
  1559. <paramref name="buffer" /> is null.</exception>
  1560. <exception cref="T:System.ArgumentException">The <paramref name="index" /> plus <paramref name="count" /> is greater than the buffer length.</exception>
  1561. <exception cref="T:System.ArgumentOutOfRangeException">
  1562. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1563. <exception cref="T:System.ObjectDisposedException">The string writer is disposed.</exception>
  1564. <exception cref="T:System.InvalidOperationException">The string writer is currently in use by a previous write operation. </exception>
  1565. </member>
  1566. <member name="M:System.IO.StringWriter.WriteAsync(System.String)">
  1567. <summary>Writes a string to the current string asynchronously.</summary>
  1568. <returns>A task that represents the asynchronous write operation.</returns>
  1569. <param name="value">The string to write. If <paramref name="value" /> is null, nothing is written to the text stream.</param>
  1570. <exception cref="T:System.ObjectDisposedException">The string writer is disposed.</exception>
  1571. <exception cref="T:System.InvalidOperationException">The string writer is currently in use by a previous write operation. </exception>
  1572. </member>
  1573. <member name="M:System.IO.StringWriter.WriteLineAsync(System.Char)">
  1574. <summary>Writes a character followed by a line terminator asynchronously to the string.</summary>
  1575. <returns>A task that represents the asynchronous write operation.</returns>
  1576. <param name="value">The character to write to the string.</param>
  1577. <exception cref="T:System.ObjectDisposedException">The string writer is disposed.</exception>
  1578. <exception cref="T:System.InvalidOperationException">The string writer is currently in use by a previous write operation. </exception>
  1579. </member>
  1580. <member name="M:System.IO.StringWriter.WriteLineAsync(System.Char[],System.Int32,System.Int32)">
  1581. <summary>Writes a subarray of characters followed by a line terminator asynchronously to the string.</summary>
  1582. <returns>A task that represents the asynchronous write operation.</returns>
  1583. <param name="buffer">The character array to write data from.</param>
  1584. <param name="index">The position in the buffer at which to start reading data.</param>
  1585. <param name="count">The maximum number of characters to write. </param>
  1586. <exception cref="T:System.ArgumentNullException">
  1587. <paramref name="buffer" /> is null.</exception>
  1588. <exception cref="T:System.ArgumentException">The <paramref name="index" /> plus <paramref name="count" /> is greater than the buffer length.</exception>
  1589. <exception cref="T:System.ArgumentOutOfRangeException">
  1590. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1591. <exception cref="T:System.ObjectDisposedException">The string writer is disposed.</exception>
  1592. <exception cref="T:System.InvalidOperationException">The string writer is currently in use by a previous write operation. </exception>
  1593. </member>
  1594. <member name="M:System.IO.StringWriter.WriteLineAsync(System.String)">
  1595. <summary>Writes a string followed by a line terminator asynchronously to the current string.</summary>
  1596. <returns>A task that represents the asynchronous write operation.</returns>
  1597. <param name="value">The string to write. If the value is null, only a line terminator is written.</param>
  1598. <exception cref="T:System.ObjectDisposedException">The string writer is disposed.</exception>
  1599. <exception cref="T:System.InvalidOperationException">The string writer is currently in use by a previous write operation. </exception>
  1600. </member>
  1601. <member name="T:System.IO.TextReader">
  1602. <summary>Represents a reader that can read a sequential series of characters.</summary>
  1603. <filterpriority>2</filterpriority>
  1604. </member>
  1605. <member name="M:System.IO.TextReader.#ctor">
  1606. <summary>Initializes a new instance of the <see cref="T:System.IO.TextReader" /> class.</summary>
  1607. </member>
  1608. <member name="M:System.IO.TextReader.Dispose">
  1609. <summary>Releases all resources used by the <see cref="T:System.IO.TextReader" /> object.</summary>
  1610. </member>
  1611. <member name="M:System.IO.TextReader.Dispose(System.Boolean)">
  1612. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.TextReader" /> and optionally releases the managed resources.</summary>
  1613. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  1614. </member>
  1615. <member name="F:System.IO.TextReader.Null">
  1616. <summary>Provides a TextReader with no data to read from.</summary>
  1617. <filterpriority>1</filterpriority>
  1618. </member>
  1619. <member name="M:System.IO.TextReader.Peek">
  1620. <summary>Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the reader.</summary>
  1621. <returns>An integer representing the next character to be read, or -1 if no more characters are available or the reader does not support seeking.</returns>
  1622. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed. </exception>
  1623. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1624. <filterpriority>1</filterpriority>
  1625. </member>
  1626. <member name="M:System.IO.TextReader.Read">
  1627. <summary>Reads the next character from the text reader and advances the character position by one character.</summary>
  1628. <returns>The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1.</returns>
  1629. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed. </exception>
  1630. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1631. <filterpriority>1</filterpriority>
  1632. </member>
  1633. <member name="M:System.IO.TextReader.Read(System.Char[],System.Int32,System.Int32)">
  1634. <summary>Reads a specified maximum number of characters from the current reader and writes the data to a buffer, beginning at the specified index.</summary>
  1635. <returns>The number of characters that have been read. The number will be less than or equal to <paramref name="count" />, depending on whether the data is available within the reader. This method returns 0 (zero) if it is called when no more characters are left to read.</returns>
  1636. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source. </param>
  1637. <param name="index">The position in <paramref name="buffer" /> at which to begin writing. </param>
  1638. <param name="count">The maximum number of characters to read. If the end of the reader is reached before the specified number of characters is read into the buffer, the method returns. </param>
  1639. <exception cref="T:System.ArgumentNullException">
  1640. <paramref name="buffer" /> is null. </exception>
  1641. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1642. <exception cref="T:System.ArgumentOutOfRangeException">
  1643. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1644. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed. </exception>
  1645. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1646. <filterpriority>1</filterpriority>
  1647. </member>
  1648. <member name="M:System.IO.TextReader.ReadAsync(System.Char[],System.Int32,System.Int32)">
  1649. <summary>Reads a specified maximum number of characters from the current text reader asynchronously and writes the data to a buffer, beginning at the specified index. </summary>
  1650. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the text has been reached.</returns>
  1651. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
  1652. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1653. <param name="count">The maximum number of characters to read. If the end of the text is reached before the specified number of characters is read into the buffer, the current method returns.</param>
  1654. <exception cref="T:System.ArgumentNullException">
  1655. <paramref name="buffer" /> is null.</exception>
  1656. <exception cref="T:System.ArgumentOutOfRangeException">
  1657. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1658. <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  1659. <exception cref="T:System.ObjectDisposedException">The text reader has been disposed.</exception>
  1660. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1661. </member>
  1662. <member name="M:System.IO.TextReader.ReadBlock(System.Char[],System.Int32,System.Int32)">
  1663. <summary>Reads a specified maximum number of characters from the current text reader and writes the data to a buffer, beginning at the specified index.</summary>
  1664. <returns>The number of characters that have been read. The number will be less than or equal to <paramref name="count" />, depending on whether all input characters have been read.</returns>
  1665. <param name="buffer">When this method returns, this parameter contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> -1) replaced by the characters read from the current source. </param>
  1666. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1667. <param name="count">The maximum number of characters to read. </param>
  1668. <exception cref="T:System.ArgumentNullException">
  1669. <paramref name="buffer" /> is null. </exception>
  1670. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1671. <exception cref="T:System.ArgumentOutOfRangeException">
  1672. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1673. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed. </exception>
  1674. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1675. <filterpriority>2</filterpriority>
  1676. </member>
  1677. <member name="M:System.IO.TextReader.ReadBlockAsync(System.Char[],System.Int32,System.Int32)">
  1678. <summary>Reads a specified maximum number of characters from the current text reader asynchronously and writes the data to a buffer, beginning at the specified index.</summary>
  1679. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the text has been reached.</returns>
  1680. <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
  1681. <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
  1682. <param name="count">The maximum number of characters to read. If the end of the text is reached before the specified number of characters is read into the buffer, the current method returns.</param>
  1683. <exception cref="T:System.ArgumentNullException">
  1684. <paramref name="buffer" /> is null.</exception>
  1685. <exception cref="T:System.ArgumentOutOfRangeException">
  1686. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1687. <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and <paramref name="count" /> is larger than the buffer length.</exception>
  1688. <exception cref="T:System.ObjectDisposedException">The text reader has been disposed.</exception>
  1689. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1690. </member>
  1691. <member name="M:System.IO.TextReader.ReadLine">
  1692. <summary>Reads a line of characters from the text reader and returns the data as a string.</summary>
  1693. <returns>The next line from the reader, or null if all characters have been read.</returns>
  1694. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1695. <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string. </exception>
  1696. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed. </exception>
  1697. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" /></exception>
  1698. <filterpriority>1</filterpriority>
  1699. </member>
  1700. <member name="M:System.IO.TextReader.ReadLineAsync">
  1701. <summary>Reads a line of characters asynchronously and returns the data as a string. </summary>
  1702. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the next line from the text reader, or is null if all of the characters have been read. </returns>
  1703. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
  1704. <exception cref="T:System.ObjectDisposedException">The text reader has been disposed.</exception>
  1705. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1706. </member>
  1707. <member name="M:System.IO.TextReader.ReadToEnd">
  1708. <summary>Reads all characters from the current position to the end of the text reader and returns them as one string.</summary>
  1709. <returns>A string that contains all characters from the current position to the end of the text reader.</returns>
  1710. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1711. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed. </exception>
  1712. <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string. </exception>
  1713. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" /></exception>
  1714. <filterpriority>1</filterpriority>
  1715. </member>
  1716. <member name="M:System.IO.TextReader.ReadToEndAsync">
  1717. <summary>Reads all characters from the current position to the end of the text reader asynchronously and returns them as one string.</summary>
  1718. <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains a string with the characters from the current position to the end of the text reader. </returns>
  1719. <exception cref="T:System.ArgumentOutOfRangeException">The number of characters is larger than <see cref="F:System.Int32.MaxValue" />.</exception>
  1720. <exception cref="T:System.ObjectDisposedException">The text reader has been disposed.</exception>
  1721. <exception cref="T:System.InvalidOperationException">The reader is currently in use by a previous read operation. </exception>
  1722. </member>
  1723. <member name="T:System.IO.TextWriter">
  1724. <summary>Represents a writer that can write a sequential series of characters. This class is abstract.</summary>
  1725. <filterpriority>2</filterpriority>
  1726. </member>
  1727. <member name="M:System.IO.TextWriter.#ctor">
  1728. <summary>Initializes a new instance of the <see cref="T:System.IO.TextWriter" /> class.</summary>
  1729. </member>
  1730. <member name="M:System.IO.TextWriter.#ctor(System.IFormatProvider)">
  1731. <summary>Initializes a new instance of the <see cref="T:System.IO.TextWriter" /> class with the specified format provider.</summary>
  1732. <param name="formatProvider">An <see cref="T:System.IFormatProvider" /> object that controls formatting. </param>
  1733. </member>
  1734. <member name="F:System.IO.TextWriter.CoreNewLine">
  1735. <summary>Stores the newline characters used for this TextWriter.</summary>
  1736. </member>
  1737. <member name="M:System.IO.TextWriter.Dispose">
  1738. <summary>Releases all resources used by the <see cref="T:System.IO.TextWriter" /> object.</summary>
  1739. </member>
  1740. <member name="M:System.IO.TextWriter.Dispose(System.Boolean)">
  1741. <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.TextWriter" /> and optionally releases the managed resources.</summary>
  1742. <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
  1743. </member>
  1744. <member name="P:System.IO.TextWriter.Encoding">
  1745. <summary>When overridden in a derived class, returns the character encoding in which the output is written.</summary>
  1746. <returns>The character encoding in which the output is written.</returns>
  1747. <filterpriority>1</filterpriority>
  1748. </member>
  1749. <member name="M:System.IO.TextWriter.Flush">
  1750. <summary>Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.</summary>
  1751. <filterpriority>1</filterpriority>
  1752. </member>
  1753. <member name="M:System.IO.TextWriter.FlushAsync">
  1754. <summary>Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. </summary>
  1755. <returns>A task that represents the asynchronous flush operation. </returns>
  1756. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  1757. <exception cref="T:System.InvalidOperationException">The writer is currently in use by a previous write operation. </exception>
  1758. </member>
  1759. <member name="P:System.IO.TextWriter.FormatProvider">
  1760. <summary>Gets an object that controls formatting.</summary>
  1761. <returns>An <see cref="T:System.IFormatProvider" /> object for a specific culture, or the formatting of the current culture if no other culture is specified.</returns>
  1762. <filterpriority>2</filterpriority>
  1763. </member>
  1764. <member name="P:System.IO.TextWriter.NewLine">
  1765. <summary>Gets or sets the line terminator string used by the current TextWriter.</summary>
  1766. <returns>The line terminator string for the current TextWriter.</returns>
  1767. <filterpriority>2</filterpriority>
  1768. </member>
  1769. <member name="F:System.IO.TextWriter.Null">
  1770. <summary>Provides a TextWriter with no backing store that can be written to, but not read from.</summary>
  1771. <filterpriority>1</filterpriority>
  1772. </member>
  1773. <member name="M:System.IO.TextWriter.Write(System.Boolean)">
  1774. <summary>Writes the text representation of a Boolean value to the text string or stream.</summary>
  1775. <param name="value">The Boolean value to write. </param>
  1776. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1777. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1778. <filterpriority>1</filterpriority>
  1779. </member>
  1780. <member name="M:System.IO.TextWriter.Write(System.Char)">
  1781. <summary>Writes a character to the text string or stream.</summary>
  1782. <param name="value">The character to write to the text stream. </param>
  1783. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1784. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1785. <filterpriority>1</filterpriority>
  1786. </member>
  1787. <member name="M:System.IO.TextWriter.Write(System.Char[])">
  1788. <summary>Writes a character array to the text string or stream.</summary>
  1789. <param name="buffer">The character array to write to the text stream. </param>
  1790. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1791. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1792. <filterpriority>1</filterpriority>
  1793. </member>
  1794. <member name="M:System.IO.TextWriter.Write(System.Char[],System.Int32,System.Int32)">
  1795. <summary>Writes a subarray of characters to the text string or stream.</summary>
  1796. <param name="buffer">The character array to write data from. </param>
  1797. <param name="index">The character position in the buffer at which to start retrieving data. </param>
  1798. <param name="count">The number of characters to write. </param>
  1799. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1800. <exception cref="T:System.ArgumentNullException">The <paramref name="buffer" /> parameter is null. </exception>
  1801. <exception cref="T:System.ArgumentOutOfRangeException">
  1802. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1803. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1804. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1805. <filterpriority>1</filterpriority>
  1806. </member>
  1807. <member name="M:System.IO.TextWriter.Write(System.Decimal)">
  1808. <summary>Writes the text representation of a decimal value to the text string or stream.</summary>
  1809. <param name="value">The decimal value to write. </param>
  1810. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1811. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1812. <filterpriority>1</filterpriority>
  1813. </member>
  1814. <member name="M:System.IO.TextWriter.Write(System.Double)">
  1815. <summary>Writes the text representation of an 8-byte floating-point value to the text string or stream.</summary>
  1816. <param name="value">The 8-byte floating-point value to write. </param>
  1817. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1818. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1819. <filterpriority>1</filterpriority>
  1820. </member>
  1821. <member name="M:System.IO.TextWriter.Write(System.Int32)">
  1822. <summary>Writes the text representation of a 4-byte signed integer to the text string or stream.</summary>
  1823. <param name="value">The 4-byte signed integer to write. </param>
  1824. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1825. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1826. <filterpriority>1</filterpriority>
  1827. </member>
  1828. <member name="M:System.IO.TextWriter.Write(System.Int64)">
  1829. <summary>Writes the text representation of an 8-byte signed integer to the text string or stream.</summary>
  1830. <param name="value">The 8-byte signed integer to write. </param>
  1831. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1832. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1833. <filterpriority>1</filterpriority>
  1834. </member>
  1835. <member name="M:System.IO.TextWriter.Write(System.Object)">
  1836. <summary>Writes the text representation of an object to the text string or stream by calling the ToString method on that object.</summary>
  1837. <param name="value">The object to write. </param>
  1838. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1839. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1840. <filterpriority>1</filterpriority>
  1841. </member>
  1842. <member name="M:System.IO.TextWriter.Write(System.Single)">
  1843. <summary>Writes the text representation of a 4-byte floating-point value to the text string or stream.</summary>
  1844. <param name="value">The 4-byte floating-point value to write. </param>
  1845. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1846. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1847. <filterpriority>1</filterpriority>
  1848. </member>
  1849. <member name="M:System.IO.TextWriter.Write(System.String)">
  1850. <summary>Writes a string to the text string or stream.</summary>
  1851. <param name="value">The string to write. </param>
  1852. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1853. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1854. <filterpriority>1</filterpriority>
  1855. </member>
  1856. <member name="M:System.IO.TextWriter.Write(System.String,System.Object)">
  1857. <summary>Writes a formatted string to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object)" /> method.</summary>
  1858. <param name="format">A composite format string (see Remarks). </param>
  1859. <param name="arg0">The object to format and write. </param>
  1860. <exception cref="T:System.ArgumentNullException">
  1861. <paramref name="format" /> is null. </exception>
  1862. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1863. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1864. <exception cref="T:System.FormatException">
  1865. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one). </exception>
  1866. <filterpriority>1</filterpriority>
  1867. </member>
  1868. <member name="M:System.IO.TextWriter.Write(System.String,System.Object,System.Object)">
  1869. <summary>Writes a formatted string to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object,System.Object)" /> method.</summary>
  1870. <param name="format">A composite format string (see Remarks). </param>
  1871. <param name="arg0">The first object to format and write. </param>
  1872. <param name="arg1">The second object to format and write. </param>
  1873. <exception cref="T:System.ArgumentNullException">
  1874. <paramref name="format" /> is null. </exception>
  1875. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1876. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1877. <exception cref="T:System.FormatException">
  1878. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero) or greater than or equal to the number of objects to be formatted (which, for this method overload, is two). </exception>
  1879. <filterpriority>1</filterpriority>
  1880. </member>
  1881. <member name="M:System.IO.TextWriter.Write(System.String,System.Object,System.Object,System.Object)">
  1882. <summary>Writes a formatted string to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object,System.Object,System.Object)" /> method.</summary>
  1883. <param name="format">A composite format string (see Remarks). </param>
  1884. <param name="arg0">The first object to format and write. </param>
  1885. <param name="arg1">The second object to format and write. </param>
  1886. <param name="arg2">The third object to format and write. </param>
  1887. <exception cref="T:System.ArgumentNullException">
  1888. <paramref name="format" /> is null. </exception>
  1889. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1890. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1891. <exception cref="T:System.FormatException">
  1892. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is three). </exception>
  1893. <filterpriority>1</filterpriority>
  1894. </member>
  1895. <member name="M:System.IO.TextWriter.Write(System.String,System.Object[])">
  1896. <summary>Writes a formatted string to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object[])" /> method.</summary>
  1897. <param name="format">A composite format string (see Remarks). </param>
  1898. <param name="arg">An object array that contains zero or more objects to format and write. </param>
  1899. <exception cref="T:System.ArgumentNullException">
  1900. <paramref name="format" /> or <paramref name="arg" /> is null. </exception>
  1901. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1902. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1903. <exception cref="T:System.FormatException">
  1904. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the length of the <paramref name="arg" /> array. </exception>
  1905. <filterpriority>1</filterpriority>
  1906. </member>
  1907. <member name="M:System.IO.TextWriter.Write(System.UInt32)">
  1908. <summary>Writes the text representation of a 4-byte unsigned integer to the text string or stream.</summary>
  1909. <param name="value">The 4-byte unsigned integer to write. </param>
  1910. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1911. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1912. <filterpriority>1</filterpriority>
  1913. </member>
  1914. <member name="M:System.IO.TextWriter.Write(System.UInt64)">
  1915. <summary>Writes the text representation of an 8-byte unsigned integer to the text string or stream.</summary>
  1916. <param name="value">The 8-byte unsigned integer to write. </param>
  1917. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1918. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1919. <filterpriority>1</filterpriority>
  1920. </member>
  1921. <member name="M:System.IO.TextWriter.WriteAsync(System.Char)">
  1922. <summary>Writes a character to the text string or stream asynchronously.</summary>
  1923. <returns>A task that represents the asynchronous write operation.</returns>
  1924. <param name="value">The character to write to the text stream.</param>
  1925. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  1926. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  1927. </member>
  1928. <member name="M:System.IO.TextWriter.WriteAsync(System.Char[])">
  1929. <summary>Writes a character array to the text string or stream asynchronously.</summary>
  1930. <returns>A task that represents the asynchronous write operation.</returns>
  1931. <param name="buffer">The character array to write to the text stream. If <paramref name="buffer" /> is null, nothing is written.</param>
  1932. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  1933. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  1934. </member>
  1935. <member name="M:System.IO.TextWriter.WriteAsync(System.Char[],System.Int32,System.Int32)">
  1936. <summary>Writes a subarray of characters to the text string or stream asynchronously. </summary>
  1937. <returns>A task that represents the asynchronous write operation.</returns>
  1938. <param name="buffer">The character array to write data from. </param>
  1939. <param name="index">The character position in the buffer at which to start retrieving data. </param>
  1940. <param name="count">The number of characters to write. </param>
  1941. <exception cref="T:System.ArgumentNullException">
  1942. <paramref name="buffer" /> is null.</exception>
  1943. <exception cref="T:System.ArgumentException">The <paramref name="index" /> plus <paramref name="count" /> is greater than the buffer length.</exception>
  1944. <exception cref="T:System.ArgumentOutOfRangeException">
  1945. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  1946. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  1947. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  1948. </member>
  1949. <member name="M:System.IO.TextWriter.WriteAsync(System.String)">
  1950. <summary>Writes a string to the text string or stream asynchronously.</summary>
  1951. <returns>A task that represents the asynchronous write operation. </returns>
  1952. <param name="value">The string to write. If <paramref name="value" /> is null, nothing is written to the text stream.</param>
  1953. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  1954. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  1955. </member>
  1956. <member name="M:System.IO.TextWriter.WriteLine">
  1957. <summary>Writes a line terminator to the text string or stream.</summary>
  1958. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1959. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1960. <filterpriority>1</filterpriority>
  1961. </member>
  1962. <member name="M:System.IO.TextWriter.WriteLine(System.Boolean)">
  1963. <summary>Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.</summary>
  1964. <param name="value">The Boolean value to write. </param>
  1965. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1966. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1967. <filterpriority>1</filterpriority>
  1968. </member>
  1969. <member name="M:System.IO.TextWriter.WriteLine(System.Char)">
  1970. <summary>Writes a character followed by a line terminator to the text string or stream.</summary>
  1971. <param name="value">The character to write to the text stream. </param>
  1972. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1973. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1974. <filterpriority>1</filterpriority>
  1975. </member>
  1976. <member name="M:System.IO.TextWriter.WriteLine(System.Char[])">
  1977. <summary>Writes an array of characters followed by a line terminator to the text string or stream.</summary>
  1978. <param name="buffer">The character array from which data is read. </param>
  1979. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1980. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1981. <filterpriority>1</filterpriority>
  1982. </member>
  1983. <member name="M:System.IO.TextWriter.WriteLine(System.Char[],System.Int32,System.Int32)">
  1984. <summary>Writes a subarray of characters followed by a line terminator to the text string or stream.</summary>
  1985. <param name="buffer">The character array from which data is read. </param>
  1986. <param name="index">The character position in <paramref name="buffer" /> at which to start reading data. </param>
  1987. <param name="count">The maximum number of characters to write. </param>
  1988. <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />. </exception>
  1989. <exception cref="T:System.ArgumentNullException">The <paramref name="buffer" /> parameter is null. </exception>
  1990. <exception cref="T:System.ArgumentOutOfRangeException">
  1991. <paramref name="index" /> or <paramref name="count" /> is negative. </exception>
  1992. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  1993. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  1994. <filterpriority>1</filterpriority>
  1995. </member>
  1996. <member name="M:System.IO.TextWriter.WriteLine(System.Decimal)">
  1997. <summary>Writes the text representation of a decimal value followed by a line terminator to the text string or stream.</summary>
  1998. <param name="value">The decimal value to write. </param>
  1999. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2000. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2001. <filterpriority>1</filterpriority>
  2002. </member>
  2003. <member name="M:System.IO.TextWriter.WriteLine(System.Double)">
  2004. <summary>Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.</summary>
  2005. <param name="value">The 8-byte floating-point value to write. </param>
  2006. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2007. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2008. <filterpriority>1</filterpriority>
  2009. </member>
  2010. <member name="M:System.IO.TextWriter.WriteLine(System.Int32)">
  2011. <summary>Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.</summary>
  2012. <param name="value">The 4-byte signed integer to write. </param>
  2013. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2014. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2015. <filterpriority>1</filterpriority>
  2016. </member>
  2017. <member name="M:System.IO.TextWriter.WriteLine(System.Int64)">
  2018. <summary>Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.</summary>
  2019. <param name="value">The 8-byte signed integer to write. </param>
  2020. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2021. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2022. <filterpriority>1</filterpriority>
  2023. </member>
  2024. <member name="M:System.IO.TextWriter.WriteLine(System.Object)">
  2025. <summary>Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.</summary>
  2026. <param name="value">The object to write. If <paramref name="value" /> is null, only the line terminator is written. </param>
  2027. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2028. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2029. <filterpriority>1</filterpriority>
  2030. </member>
  2031. <member name="M:System.IO.TextWriter.WriteLine(System.Single)">
  2032. <summary>Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.</summary>
  2033. <param name="value">The 4-byte floating-point value to write. </param>
  2034. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2035. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2036. <filterpriority>1</filterpriority>
  2037. </member>
  2038. <member name="M:System.IO.TextWriter.WriteLine(System.String)">
  2039. <summary>Writes a string followed by a line terminator to the text string or stream.</summary>
  2040. <param name="value">The string to write. If <paramref name="value" /> is null, only the line terminator is written. </param>
  2041. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2042. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2043. <filterpriority>1</filterpriority>
  2044. </member>
  2045. <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object)">
  2046. <summary>Writes a formatted string and a new line to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object)" /> method.</summary>
  2047. <param name="format">A composite format string (see Remarks).</param>
  2048. <param name="arg0">The object to format and write. </param>
  2049. <exception cref="T:System.ArgumentNullException">
  2050. <paramref name="format" /> is null. </exception>
  2051. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2052. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2053. <exception cref="T:System.FormatException">
  2054. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one). </exception>
  2055. <filterpriority>1</filterpriority>
  2056. </member>
  2057. <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object,System.Object)">
  2058. <summary>Writes a formatted string and a new line to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object,System.Object)" /> method.</summary>
  2059. <param name="format">A composite format string (see Remarks).</param>
  2060. <param name="arg0">The first object to format and write. </param>
  2061. <param name="arg1">The second object to format and write. </param>
  2062. <exception cref="T:System.ArgumentNullException">
  2063. <paramref name="format" /> is null. </exception>
  2064. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2065. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2066. <exception cref="T:System.FormatException">
  2067. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is two). </exception>
  2068. <filterpriority>1</filterpriority>
  2069. </member>
  2070. <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object,System.Object,System.Object)">
  2071. <summary>Writes out a formatted string and a new line, using the same semantics as <see cref="M:System.String.Format(System.String,System.Object)" />.</summary>
  2072. <param name="format">A composite format string (see Remarks).</param>
  2073. <param name="arg0">The first object to format and write. </param>
  2074. <param name="arg1">The second object to format and write. </param>
  2075. <param name="arg2">The third object to format and write. </param>
  2076. <exception cref="T:System.ArgumentNullException">
  2077. <paramref name="format" /> is null. </exception>
  2078. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2079. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2080. <exception cref="T:System.FormatException">
  2081. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is three). </exception>
  2082. <filterpriority>1</filterpriority>
  2083. </member>
  2084. <member name="M:System.IO.TextWriter.WriteLine(System.String,System.Object[])">
  2085. <summary>Writes out a formatted string and a new line, using the same semantics as <see cref="M:System.String.Format(System.String,System.Object)" />.</summary>
  2086. <param name="format">A composite format string (see Remarks).</param>
  2087. <param name="arg">An object array that contains zero or more objects to format and write. </param>
  2088. <exception cref="T:System.ArgumentNullException">A string or object is passed in as null. </exception>
  2089. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2090. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2091. <exception cref="T:System.FormatException">
  2092. <paramref name="format" /> is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the length of the <paramref name="arg" /> array. </exception>
  2093. <filterpriority>1</filterpriority>
  2094. </member>
  2095. <member name="M:System.IO.TextWriter.WriteLine(System.UInt32)">
  2096. <summary>Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.</summary>
  2097. <param name="value">The 4-byte unsigned integer to write. </param>
  2098. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2099. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2100. <filterpriority>1</filterpriority>
  2101. </member>
  2102. <member name="M:System.IO.TextWriter.WriteLine(System.UInt64)">
  2103. <summary>Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.</summary>
  2104. <param name="value">The 8-byte unsigned integer to write. </param>
  2105. <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed. </exception>
  2106. <exception cref="T:System.IO.IOException">An I/O error occurs. </exception>
  2107. <filterpriority>1</filterpriority>
  2108. </member>
  2109. <member name="M:System.IO.TextWriter.WriteLineAsync">
  2110. <summary>Writes a line terminator asynchronously to the text string or stream.</summary>
  2111. <returns>A task that represents the asynchronous write operation. </returns>
  2112. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  2113. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  2114. </member>
  2115. <member name="M:System.IO.TextWriter.WriteLineAsync(System.Char)">
  2116. <summary>Writes a character followed by a line terminator asynchronously to the text string or stream.</summary>
  2117. <returns>A task that represents the asynchronous write operation.</returns>
  2118. <param name="value">The character to write to the text stream.</param>
  2119. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  2120. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  2121. </member>
  2122. <member name="M:System.IO.TextWriter.WriteLineAsync(System.Char[])">
  2123. <summary>Writes an array of characters followed by a line terminator asynchronously to the text string or stream.</summary>
  2124. <returns>A task that represents the asynchronous write operation.</returns>
  2125. <param name="buffer">The character array to write to the text stream. If the character array is null, only the line terminator is written. </param>
  2126. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  2127. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  2128. </member>
  2129. <member name="M:System.IO.TextWriter.WriteLineAsync(System.Char[],System.Int32,System.Int32)">
  2130. <summary>Writes a subarray of characters followed by a line terminator asynchronously to the text string or stream.</summary>
  2131. <returns>A task that represents the asynchronous write operation.</returns>
  2132. <param name="buffer">The character array to write data from. </param>
  2133. <param name="index">The character position in the buffer at which to start retrieving data. </param>
  2134. <param name="count">The number of characters to write. </param>
  2135. <exception cref="T:System.ArgumentNullException">
  2136. <paramref name="buffer" /> is null.</exception>
  2137. <exception cref="T:System.ArgumentException">The <paramref name="index" /> plus <paramref name="count" /> is greater than the buffer length.</exception>
  2138. <exception cref="T:System.ArgumentOutOfRangeException">
  2139. <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
  2140. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  2141. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  2142. </member>
  2143. <member name="M:System.IO.TextWriter.WriteLineAsync(System.String)">
  2144. <summary>Writes a string followed by a line terminator asynchronously to the text string or stream. </summary>
  2145. <returns>A task that represents the asynchronous write operation.</returns>
  2146. <param name="value">The string to write. If the value is null, only a line terminator is written. </param>
  2147. <exception cref="T:System.ObjectDisposedException">The text writer is disposed.</exception>
  2148. <exception cref="T:System.InvalidOperationException">The text writer is currently in use by a previous write operation. </exception>
  2149. </member>
  2150. </members>
  2151. </doc>