StreamReader.Null 欄位

定義

空資料流周圍的 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叫用 read 方法時,一律會傳回零。 在 上Null叫用 時ReadLinenull會傳回 。

如需一般 I/O 工作的清單,請參閱 一般 I/O 工作

適用於

另請參閱