PhysicalDirectoryInfo.CreateReadStream 方法

定义

总是引发异常,因为目录不支持读取的流。

public:
 virtual System::IO::Stream ^ CreateReadStream();
public System.IO.Stream CreateReadStream ();
abstract member CreateReadStream : unit -> System.IO.Stream
override this.CreateReadStream : unit -> System.IO.Stream
Public Function CreateReadStream () As Stream

返回

不适用。

实现

例外

在所有情况下。

适用于