IFileInfo.CreateReadStream 方法

定义

返回只读流形式的文件内容。 调用方在完成后应释放流。

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

返回

文件流。

适用于