SharpFS -- A Virtual FileSystem for .NET

VirtualFS.OpenFile Method 

[This is preliminary documentation and subject to change.]

Opens a file in the virtual filesystem, with the given mode and access.

public VirtualFile OpenFile(
   string path,
   FileMode mode,
   FileAccess access
);

Parameters

path
The virtual path of the file to retrieve.
mode
The mode to open the file in.
access
The access that should be granted to the file.

Return Value

A VirtualFile object allowing access to the opened file.

Exceptions

Exception Type Condition
ArgumentNullException Thrown if path is null.

See Also

VirtualFS Class | SharpFS Namespace