Open a file for reading

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

Public Shared Function OpenRead( _ 
ByVal path As String
) As FileStream
This language is not supported or no code example is available.
public static FileStream OpenRead( 
string path 
)
This language is not supported or no code example is available.
public:  
static FileStream^ OpenRead( 
String^ path 
)
This language is not supported or no code example is available.
public static function OpenRead( 
path : String 
) : FileStream;
This language is not supported or no code example is available.

Parameters

path
Type: string

<default>

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