IFileInfo.CreateReadStream Method

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

Namespace:  Microsoft.Owin.FileSystems
Assembly:  Microsoft.Owin.FileSystems (in Microsoft.Owin.FileSystems.dll)

Syntax

'Declaration
Function CreateReadStream As Stream
'Usage
Dim instance As IFileInfo 
Dim returnValue As Stream 

returnValue = instance.CreateReadStream()
Stream CreateReadStream()
Stream^ CreateReadStream()
abstract CreateReadStream : unit -> Stream
function CreateReadStream() : Stream

Return Value

Type: System.IO.Stream
The file stream

See Also

Reference

IFileInfo Interface

Microsoft.Owin.FileSystems Namespace