You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

481 lines
29 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Console</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Console">
  8. <summary>表示控制台应用程序的标准输入流、输出流和错误流。此类不能被继承。若要浏览此类型的.NET Framework 源代码,请参阅 Reference Source。</summary>
  9. <filterpriority>1</filterpriority>
  10. </member>
  11. <member name="P:System.Console.BackgroundColor">
  12. <summary>获取或设置控制台的背景色。</summary>
  13. <returns>一个值,指定控制台的背景色;也就是显示在每个字符后面的颜色。默认为黑色。</returns>
  14. <exception cref="T:System.ArgumentException">在 Set 操作中指定的颜色不是 <see cref="T:System.ConsoleColor" /> 的有效成员。</exception>
  15. <exception cref="T:System.Security.SecurityException">该用户没有执行此操作的权限。</exception>
  16. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  17. <filterpriority>1</filterpriority>
  18. <PermissionSet>
  19. <IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Window="SafeTopLevelWindows" />
  20. </PermissionSet>
  21. </member>
  22. <member name="E:System.Console.CancelKeyPress">
  23. <summary>当 <see cref="F:System.ConsoleModifiers.Control" /> 修改键 (Ctrl) 和 <see cref="F:System.ConsoleKey.C" /> console 键 (C) 或 Break 键同时按住(Ctrl+C 或 Ctrl+Break)时发生。</summary>
  24. <filterpriority>1</filterpriority>
  25. </member>
  26. <member name="P:System.Console.Error">
  27. <summary>获取标准错误输出流。</summary>
  28. <returns>表示标准错误输出流的 <see cref="T:System.IO.TextWriter" />。</returns>
  29. <filterpriority>1</filterpriority>
  30. </member>
  31. <member name="P:System.Console.ForegroundColor">
  32. <summary>获取或设置控制台的前景色。</summary>
  33. <returns>一个 <see cref="T:System.ConsoleColor" />,指定控制台的前景色;也就是显示的每个字符的颜色。默认为灰色。</returns>
  34. <exception cref="T:System.ArgumentException">在 Set 操作中指定的颜色不是 <see cref="T:System.ConsoleColor" /> 的有效成员。</exception>
  35. <exception cref="T:System.Security.SecurityException">该用户没有执行此操作的权限。</exception>
  36. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  37. <filterpriority>1</filterpriority>
  38. <PermissionSet>
  39. <IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Window="SafeTopLevelWindows" />
  40. </PermissionSet>
  41. </member>
  42. <member name="P:System.Console.In">
  43. <summary>获取标准输入流。</summary>
  44. <returns>表示标准输入流的 <see cref="T:System.IO.TextReader" />。</returns>
  45. <filterpriority>1</filterpriority>
  46. </member>
  47. <member name="M:System.Console.OpenStandardError">
  48. <summary>获取标准错误流。</summary>
  49. <returns>标准错误流。</returns>
  50. <filterpriority>1</filterpriority>
  51. </member>
  52. <member name="M:System.Console.OpenStandardInput">
  53. <summary>获取标准输入流。</summary>
  54. <returns>标准输入流。</returns>
  55. <filterpriority>1</filterpriority>
  56. </member>
  57. <member name="M:System.Console.OpenStandardOutput">
  58. <summary>获取标准输出流。</summary>
  59. <returns>标准输出流。</returns>
  60. <filterpriority>1</filterpriority>
  61. </member>
  62. <member name="P:System.Console.Out">
  63. <summary>获取标准输出流。</summary>
  64. <returns>表示标准输出流的 <see cref="T:System.IO.TextWriter" />。</returns>
  65. <filterpriority>1</filterpriority>
  66. </member>
  67. <member name="M:System.Console.Read">
  68. <summary>从标准输入流读取下一个字符。</summary>
  69. <returns>输入流中的下一个字符;如果当前没有更多的字符可供读取,则为负一 (-1)。</returns>
  70. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  71. <filterpriority>1</filterpriority>
  72. </member>
  73. <member name="M:System.Console.ReadLine">
  74. <summary>从标准输入流读取下一行字符。</summary>
  75. <returns>输入流中的下一行字符;如果没有更多的可用行,则为 null。</returns>
  76. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  77. <exception cref="T:System.OutOfMemoryException">内存不足,无法为返回的字符串分配缓冲区。</exception>
  78. <exception cref="T:System.ArgumentOutOfRangeException">下一行字符中的字符数大于 <see cref="F:System.Int32.MaxValue" />。</exception>
  79. <filterpriority>1</filterpriority>
  80. </member>
  81. <member name="M:System.Console.ResetColor">
  82. <summary>将控制台的前景色和背景色设置为默认值。</summary>
  83. <exception cref="T:System.Security.SecurityException">该用户没有执行此操作的权限。</exception>
  84. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  85. <filterpriority>1</filterpriority>
  86. <PermissionSet>
  87. <IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Window="SafeTopLevelWindows" />
  88. </PermissionSet>
  89. </member>
  90. <member name="M:System.Console.SetError(System.IO.TextWriter)">
  91. <summary>将 <see cref="P:System.Console.Error" /> 属性设置为指定的 <see cref="T:System.IO.TextWriter" /> 对象。</summary>
  92. <param name="newError">一个流,它是新的标准错误输出。</param>
  93. <exception cref="T:System.ArgumentNullException">
  94. <paramref name="newError" /> 为 null。</exception>
  95. <exception cref="T:System.Security.SecurityException">调用方没有所要求的权限。</exception>
  96. <filterpriority>1</filterpriority>
  97. <PermissionSet>
  98. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
  99. </PermissionSet>
  100. </member>
  101. <member name="M:System.Console.SetIn(System.IO.TextReader)">
  102. <summary>将 <see cref="P:System.Console.In" /> 属性设置为指定的 <see cref="T:System.IO.TextReader" /> 对象。</summary>
  103. <param name="newIn">一个流,它是新的标准输入。</param>
  104. <exception cref="T:System.ArgumentNullException">
  105. <paramref name="newIn" /> 为 null。</exception>
  106. <exception cref="T:System.Security.SecurityException">调用方没有所要求的权限。</exception>
  107. <filterpriority>1</filterpriority>
  108. <PermissionSet>
  109. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
  110. </PermissionSet>
  111. </member>
  112. <member name="M:System.Console.SetOut(System.IO.TextWriter)">
  113. <summary>将 <see cref="P:System.Console.Out" /> 属性设置为指定的 <see cref="T:System.IO.TextWriter" /> 对象。</summary>
  114. <param name="newOut">一个流,它是新的标准输出。</param>
  115. <exception cref="T:System.ArgumentNullException">
  116. <paramref name="newOut" /> 为 null。</exception>
  117. <exception cref="T:System.Security.SecurityException">调用方没有所要求的权限。</exception>
  118. <filterpriority>1</filterpriority>
  119. <PermissionSet>
  120. <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
  121. </PermissionSet>
  122. </member>
  123. <member name="M:System.Console.Write(System.Boolean)">
  124. <summary>将指定的布尔值的文本表示形式写入标准输出流。</summary>
  125. <param name="value">要写入的值。</param>
  126. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  127. <filterpriority>1</filterpriority>
  128. </member>
  129. <member name="M:System.Console.Write(System.Char)">
  130. <summary>将指定的 Unicode 字符值写入标准输出流。</summary>
  131. <param name="value">要写入的值。</param>
  132. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  133. <filterpriority>1</filterpriority>
  134. </member>
  135. <member name="M:System.Console.Write(System.Char[])">
  136. <summary>将指定的 Unicode 字符数组写入标准输出流。</summary>
  137. <param name="buffer">Unicode 字符数组。</param>
  138. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  139. <filterpriority>1</filterpriority>
  140. </member>
  141. <member name="M:System.Console.Write(System.Char[],System.Int32,System.Int32)">
  142. <summary>将指定的 Unicode 字符子数组写入标准输出流。</summary>
  143. <param name="buffer">Unicode 字符的数组。</param>
  144. <param name="index">
  145. <paramref name="buffer" /> 中的起始位置。</param>
  146. <param name="count">要写入的字符数。</param>
  147. <exception cref="T:System.ArgumentNullException">
  148. <paramref name="buffer" /> 为 null。</exception>
  149. <exception cref="T:System.ArgumentOutOfRangeException">
  150. <paramref name="index" /> 或 <paramref name="count" /> 小于零。</exception>
  151. <exception cref="T:System.ArgumentException">
  152. <paramref name="index" /> 和 <paramref name="count" /> 共同指定一个不在 <paramref name="buffer" /> 中的位置。</exception>
  153. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  154. <filterpriority>1</filterpriority>
  155. </member>
  156. <member name="M:System.Console.Write(System.Decimal)">
  157. <summary>将指定的 <see cref="T:System.Decimal" /> 值的文本表示形式写入标准输出流。</summary>
  158. <param name="value">要写入的值。</param>
  159. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  160. <filterpriority>1</filterpriority>
  161. </member>
  162. <member name="M:System.Console.Write(System.Double)">
  163. <summary>将指定的双精度浮点值的文本表示形式写入标准输出流。</summary>
  164. <param name="value">要写入的值。</param>
  165. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  166. <filterpriority>1</filterpriority>
  167. </member>
  168. <member name="M:System.Console.Write(System.Int32)">
  169. <summary>将指定的 32 位有符号整数值的文本表示写入标准输出流。</summary>
  170. <param name="value">要写入的值。</param>
  171. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  172. <filterpriority>1</filterpriority>
  173. </member>
  174. <member name="M:System.Console.Write(System.Int64)">
  175. <summary>将指定的 64 位有符号整数值的文本表示写入标准输出流。</summary>
  176. <param name="value">要写入的值。</param>
  177. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  178. <filterpriority>1</filterpriority>
  179. </member>
  180. <member name="M:System.Console.Write(System.Object)">
  181. <summary>将指定对象的文本表示形式写入标准输出流。</summary>
  182. <param name="value">要写入的值,或者为 null。</param>
  183. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  184. <filterpriority>1</filterpriority>
  185. </member>
  186. <member name="M:System.Console.Write(System.Single)">
  187. <summary>将指定的单精度浮点值的文本表示形式写入标准输出流。</summary>
  188. <param name="value">要写入的值。</param>
  189. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  190. <filterpriority>1</filterpriority>
  191. </member>
  192. <member name="M:System.Console.Write(System.String)">
  193. <summary>将指定的字符串值写入标准输出流。</summary>
  194. <param name="value">要写入的值。</param>
  195. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  196. <filterpriority>1</filterpriority>
  197. </member>
  198. <member name="M:System.Console.Write(System.String,System.Object)">
  199. <summary>使用指定的格式信息将指定对象的文本表示形式写入标准输出流。</summary>
  200. <param name="format">复合格式字符串(请参见“备注”)。</param>
  201. <param name="arg0">要使用 <paramref name="format" /> 写入的对象。</param>
  202. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  203. <exception cref="T:System.ArgumentNullException">
  204. <paramref name="format" /> 为 null。</exception>
  205. <exception cref="T:System.FormatException">
  206. <paramref name="format" /> 中的格式规范无效。</exception>
  207. <filterpriority>1</filterpriority>
  208. </member>
  209. <member name="M:System.Console.Write(System.String,System.Object,System.Object)">
  210. <summary>使用指定的格式信息将指定对象的文本表示形式写入标准输出流。</summary>
  211. <param name="format">复合格式字符串(请参见“备注”)。</param>
  212. <param name="arg0">要使用 <paramref name="format" /> 写入的第一个对象。</param>
  213. <param name="arg1">要使用 <paramref name="format" /> 写入的第二个对象。</param>
  214. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  215. <exception cref="T:System.ArgumentNullException">
  216. <paramref name="format" /> 为 null。</exception>
  217. <exception cref="T:System.FormatException">
  218. <paramref name="format" /> 中的格式规范无效。</exception>
  219. <filterpriority>1</filterpriority>
  220. </member>
  221. <member name="M:System.Console.Write(System.String,System.Object,System.Object,System.Object)">
  222. <summary>使用指定的格式信息将指定对象的文本表示形式写入标准输出流。</summary>
  223. <param name="format">复合格式字符串(请参见“备注”)。</param>
  224. <param name="arg0">要使用 <paramref name="format" /> 写入的第一个对象。</param>
  225. <param name="arg1">要使用 <paramref name="format" /> 写入的第二个对象。</param>
  226. <param name="arg2">要使用 <paramref name="format" /> 写入的第三个对象。</param>
  227. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  228. <exception cref="T:System.ArgumentNullException">
  229. <paramref name="format" /> 为 null。</exception>
  230. <exception cref="T:System.FormatException">
  231. <paramref name="format" /> 中的格式规范无效。</exception>
  232. <filterpriority>1</filterpriority>
  233. </member>
  234. <member name="M:System.Console.Write(System.String,System.Object[])">
  235. <summary>使用指定的格式信息将指定的对象数组的文本表示形式写入标准输出流。</summary>
  236. <param name="format">复合格式字符串(请参见“备注”)。</param>
  237. <param name="arg">要使用 <paramref name="format" /> 写入的对象的数组。</param>
  238. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  239. <exception cref="T:System.ArgumentNullException">
  240. <paramref name="format" /> 或 <paramref name="arg" /> 为 null。</exception>
  241. <exception cref="T:System.FormatException">
  242. <paramref name="format" /> 中的格式规范无效。</exception>
  243. <filterpriority>1</filterpriority>
  244. </member>
  245. <member name="M:System.Console.Write(System.UInt32)">
  246. <summary>将指定的 32 位无符号整数值的文本表示写入标准输出流。</summary>
  247. <param name="value">要写入的值。</param>
  248. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  249. <filterpriority>1</filterpriority>
  250. </member>
  251. <member name="M:System.Console.Write(System.UInt64)">
  252. <summary>将指定的 64 位无符号整数值的文本表示写入标准输出流。</summary>
  253. <param name="value">要写入的值。</param>
  254. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  255. <filterpriority>1</filterpriority>
  256. </member>
  257. <member name="M:System.Console.WriteLine">
  258. <summary>将当前行终止符写入标准输出流。</summary>
  259. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  260. <filterpriority>1</filterpriority>
  261. </member>
  262. <member name="M:System.Console.WriteLine(System.Boolean)">
  263. <summary>将指定布尔值的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  264. <param name="value">要写入的值。</param>
  265. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  266. <filterpriority>1</filterpriority>
  267. </member>
  268. <member name="M:System.Console.WriteLine(System.Char)">
  269. <summary>将指定的 Unicode 字符值(后跟当前行终止符)写入标准输出流。</summary>
  270. <param name="value">要写入的值。</param>
  271. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  272. <filterpriority>1</filterpriority>
  273. </member>
  274. <member name="M:System.Console.WriteLine(System.Char[])">
  275. <summary>将指定的 Unicode 字符数组(后跟当前行终止符)写入标准输出流。</summary>
  276. <param name="buffer">Unicode 字符数组。</param>
  277. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  278. <filterpriority>1</filterpriority>
  279. </member>
  280. <member name="M:System.Console.WriteLine(System.Char[],System.Int32,System.Int32)">
  281. <summary>将指定的 Unicode 字符子数组(后跟当前行终止符)写入标准输出流。</summary>
  282. <param name="buffer">Unicode 字符的数组。</param>
  283. <param name="index">
  284. <paramref name="buffer" /> 中的起始位置。</param>
  285. <param name="count">要写入的字符数。</param>
  286. <exception cref="T:System.ArgumentNullException">
  287. <paramref name="buffer" /> 为 null。</exception>
  288. <exception cref="T:System.ArgumentOutOfRangeException">
  289. <paramref name="index" /> 或 <paramref name="count" /> 小于零。</exception>
  290. <exception cref="T:System.ArgumentException">
  291. <paramref name="index" /> 和 <paramref name="count" /> 共同指定一个不在 <paramref name="buffer" /> 中的位置。</exception>
  292. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  293. <filterpriority>1</filterpriority>
  294. </member>
  295. <member name="M:System.Console.WriteLine(System.Decimal)">
  296. <summary>将指定的 <see cref="T:System.Decimal" /> 值的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  297. <param name="value">要写入的值。</param>
  298. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  299. <filterpriority>1</filterpriority>
  300. </member>
  301. <member name="M:System.Console.WriteLine(System.Double)">
  302. <summary>将指定的双精度浮点值的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  303. <param name="value">要写入的值。</param>
  304. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  305. <filterpriority>1</filterpriority>
  306. </member>
  307. <member name="M:System.Console.WriteLine(System.Int32)">
  308. <summary>将指定的 32 位有符号整数值的文本表示(后跟当前行的结束符)写入标准输出流。</summary>
  309. <param name="value">要写入的值。</param>
  310. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  311. <filterpriority>1</filterpriority>
  312. </member>
  313. <member name="M:System.Console.WriteLine(System.Int64)">
  314. <summary>将指定的 64 位有符号整数值的文本表示(后跟当前行的结束符)写入标准输出流。</summary>
  315. <param name="value">要写入的值。</param>
  316. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  317. <filterpriority>1</filterpriority>
  318. </member>
  319. <member name="M:System.Console.WriteLine(System.Object)">
  320. <summary>将指定对象的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  321. <param name="value">要写入的值。</param>
  322. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  323. <filterpriority>1</filterpriority>
  324. </member>
  325. <member name="M:System.Console.WriteLine(System.Single)">
  326. <summary>将指定的单精度浮点值的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  327. <param name="value">要写入的值。</param>
  328. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  329. <filterpriority>1</filterpriority>
  330. </member>
  331. <member name="M:System.Console.WriteLine(System.String)">
  332. <summary>将指定的字符串值(后跟当前行终止符)写入标准输出流。</summary>
  333. <param name="value">要写入的值。</param>
  334. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  335. <filterpriority>1</filterpriority>
  336. </member>
  337. <member name="M:System.Console.WriteLine(System.String,System.Object)">
  338. <summary>使用指定的格式信息,将指定对象(后跟当前行终止符)的文本表示形式写入标准输出流。</summary>
  339. <param name="format">复合格式字符串(请参见“备注”)。</param>
  340. <param name="arg0">要使用 <paramref name="format" /> 写入的对象。</param>
  341. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  342. <exception cref="T:System.ArgumentNullException">
  343. <paramref name="format" /> 为 null。</exception>
  344. <exception cref="T:System.FormatException">
  345. <paramref name="format" /> 中的格式规范无效。</exception>
  346. <filterpriority>1</filterpriority>
  347. </member>
  348. <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object)">
  349. <summary>使用指定的格式信息,将指定对象的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  350. <param name="format">复合格式字符串(请参见“备注”)。</param>
  351. <param name="arg0">要使用 <paramref name="format" /> 写入的第一个对象。</param>
  352. <param name="arg1">要使用 <paramref name="format" /> 写入的第二个对象。</param>
  353. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  354. <exception cref="T:System.ArgumentNullException">
  355. <paramref name="format" /> 为 null。</exception>
  356. <exception cref="T:System.FormatException">
  357. <paramref name="format" /> 中的格式规范无效。</exception>
  358. <filterpriority>1</filterpriority>
  359. </member>
  360. <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object)">
  361. <summary>使用指定的格式信息,将指定对象的文本表示形式(后跟当前行终止符)写入标准输出流。</summary>
  362. <param name="format">复合格式字符串(请参见“备注”)。</param>
  363. <param name="arg0">要使用 <paramref name="format" /> 写入的第一个对象。</param>
  364. <param name="arg1">要使用 <paramref name="format" /> 写入的第二个对象。</param>
  365. <param name="arg2">要使用 <paramref name="format" /> 写入的第三个对象。</param>
  366. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  367. <exception cref="T:System.ArgumentNullException">
  368. <paramref name="format" /> 为 null。</exception>
  369. <exception cref="T:System.FormatException">
  370. <paramref name="format" /> 中的格式规范无效。</exception>
  371. <filterpriority>1</filterpriority>
  372. </member>
  373. <member name="M:System.Console.WriteLine(System.String,System.Object[])">
  374. <summary>使用指定的格式信息,将指定的对象数组(后跟当前行终止符)的文本表示形式写入标准输出流。</summary>
  375. <param name="format">复合格式字符串(请参见“备注”)。</param>
  376. <param name="arg">要使用 <paramref name="format" /> 写入的对象的数组。</param>
  377. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  378. <exception cref="T:System.ArgumentNullException">
  379. <paramref name="format" /> 或 <paramref name="arg" /> 为 null。</exception>
  380. <exception cref="T:System.FormatException">
  381. <paramref name="format" /> 中的格式规范无效。</exception>
  382. <filterpriority>1</filterpriority>
  383. </member>
  384. <member name="M:System.Console.WriteLine(System.UInt32)">
  385. <summary>将指定的 32 位无符号的整数值的文本表示(后跟当前行的结束符)写入标准输出流。</summary>
  386. <param name="value">要写入的值。</param>
  387. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  388. <filterpriority>1</filterpriority>
  389. </member>
  390. <member name="M:System.Console.WriteLine(System.UInt64)">
  391. <summary>将指定的 64 位无符号的整数值的文本表示(后跟当前行的结束符)写入标准输出流。</summary>
  392. <param name="value">要写入的值。</param>
  393. <exception cref="T:System.IO.IOException">发生了 I/O 错误。</exception>
  394. <filterpriority>1</filterpriority>
  395. </member>
  396. <member name="T:System.ConsoleCancelEventArgs">
  397. <summary>为 <see cref="E:System.Console.CancelKeyPress" /> 事件提供数据。此类不能被继承。</summary>
  398. <filterpriority>2</filterpriority>
  399. </member>
  400. <member name="P:System.ConsoleCancelEventArgs.Cancel">
  401. <summary>获取或设置一个值,该值指示同时按下 <see cref="F:System.ConsoleModifiers.Control" /> 修改键和 <see cref="F:System.ConsoleKey.C" /> 控制台键 (Ctrl+C) 或 Ctrl+Break 键是否会终止当前进程。默认值为 false,这将终止当前进程。</summary>
  402. <returns>如果当前进程在事件处理程序结束时应继续,则为 true;如果当前进程应终止,则为 false。默认值为 false;当前进程将在事件处理程序返回时终止。如果为 true,当前进程将继续。</returns>
  403. <filterpriority>2</filterpriority>
  404. </member>
  405. <member name="P:System.ConsoleCancelEventArgs.SpecialKey">
  406. <summary>获取中断当前进程的修改键和控制台键的组合。</summary>
  407. <returns>一个枚举值指定中断当前进程的组合键。没有默认值。</returns>
  408. <filterpriority>1</filterpriority>
  409. </member>
  410. <member name="T:System.ConsoleCancelEventHandler">
  411. <summary>表示将要处理 <see cref="T:System.Console" /> 的 <see cref="E:System.Console.CancelKeyPress" /> 事件的方法。</summary>
  412. <param name="sender">事件源。</param>
  413. <param name="e">含事件数据的 <see cref="T:System.ConsoleCancelEventArgs" /> 对象。 </param>
  414. <filterpriority>2</filterpriority>
  415. </member>
  416. <member name="T:System.ConsoleColor">
  417. <summary>指定定义控制台前景色和背景色的常数。</summary>
  418. <filterpriority>2</filterpriority>
  419. </member>
  420. <member name="F:System.ConsoleColor.Black">
  421. <summary>黑色。</summary>
  422. </member>
  423. <member name="F:System.ConsoleColor.Blue">
  424. <summary>蓝色。</summary>
  425. </member>
  426. <member name="F:System.ConsoleColor.Cyan">
  427. <summary>青色(蓝绿色)。</summary>
  428. </member>
  429. <member name="F:System.ConsoleColor.DarkBlue">
  430. <summary>藏蓝色。</summary>
  431. </member>
  432. <member name="F:System.ConsoleColor.DarkCyan">
  433. <summary>深紫色(深蓝绿色)。</summary>
  434. </member>
  435. <member name="F:System.ConsoleColor.DarkGray">
  436. <summary>深灰色。</summary>
  437. </member>
  438. <member name="F:System.ConsoleColor.DarkGreen">
  439. <summary>深绿色。</summary>
  440. </member>
  441. <member name="F:System.ConsoleColor.DarkMagenta">
  442. <summary>深紫红色。</summary>
  443. </member>
  444. <member name="F:System.ConsoleColor.DarkRed">
  445. <summary>深红色。</summary>
  446. </member>
  447. <member name="F:System.ConsoleColor.DarkYellow">
  448. <summary>深黄色(赭色)。</summary>
  449. </member>
  450. <member name="F:System.ConsoleColor.Gray">
  451. <summary>灰色。</summary>
  452. </member>
  453. <member name="F:System.ConsoleColor.Green">
  454. <summary>绿色。</summary>
  455. </member>
  456. <member name="F:System.ConsoleColor.Magenta">
  457. <summary>紫红色。</summary>
  458. </member>
  459. <member name="F:System.ConsoleColor.Red">
  460. <summary>红色。</summary>
  461. </member>
  462. <member name="F:System.ConsoleColor.White">
  463. <summary>白色。</summary>
  464. </member>
  465. <member name="F:System.ConsoleColor.Yellow">
  466. <summary>黄色。</summary>
  467. </member>
  468. <member name="T:System.ConsoleSpecialKey">
  469. <summary>指定能够中断当前进程的修改键和控制台键的组合。</summary>
  470. <filterpriority>1</filterpriority>
  471. </member>
  472. <member name="F:System.ConsoleSpecialKey.ControlBreak">
  473. <summary>
  474. <see cref="F:System.ConsoleModifiers.Control" /> 修改键加上 Break 控制台键。</summary>
  475. </member>
  476. <member name="F:System.ConsoleSpecialKey.ControlC">
  477. <summary>
  478. <see cref="F:System.ConsoleModifiers.Control" /> 修改键加 <see cref="F:System.ConsoleKey.C" /> 控制台键。</summary>
  479. </member>
  480. </members>
  481. </doc>