VFile.OpenRead Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9119)
OpenRead(String)
Method returns an instance of the read-only VFileStream
for a file identified by the path
.
A caller must dispose the returned stream.
Calling the method is equivalent to calling the method Open(String, FileMode, FileAccess)
with arguments Open(path, FileMode.Open, FileAccess.Read).
Declaration
public static VFileStream OpenRead(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file. |
Returns
Type | Description |
---|---|
VFileStream | An instance of the read-only VFileStream
for a file identified by the |