IFileInfo.CreateReadStream Method

Definition

Return file contents as readonly stream. Caller should dispose stream when complete.

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

Returns

Stream

The file stream

Applies to