PhysicalFileInfo.CreateReadStream Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the file contents as a read-only stream.
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
Returns
A read-only stream.
Implements
Remarks
The caller should dispose the stream when done with it.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.