Creates a read-only System.IO.FileStream.

Namespace: Contracts.IO
Assembly: Contracts (in Contracts.dll)

Public Function OpenRead() As FileStream
This language is not supported or no code example is available.
public FileStream OpenRead()
This language is not supported or no code example is available.
public:  
FileStream^ OpenRead()
This language is not supported or no code example is available.
public function OpenRead() : FileStream;
This language is not supported or no code example is available.

Return Value

Type: FileStream

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1