StreamReader.Null 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
空 StreamReader 流周围的对象。
public: static initonly System::IO::StreamReader ^ Null;
public static readonly System.IO.StreamReader Null;
staticval mutable Null : System.IO.StreamReader
Public Shared ReadOnly Null As StreamReader
字段值
注解
调用读取方法 Null时,始终返回零。 调用时ReadLineNull,null将返回。
有关常见 I/O 任务的列表,请参阅 常见 I/O 任务。