Click or drag to resize

WindowsFileSystemItemOpen Method

IT Hit User File System
Opens existing file or folder.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 2.5.5091.0
Syntax
public static WindowsFileSystemItem Open(
	string path,
	FileAccess access,
	FileMode mode,
	FileShare share
)

Parameters

path
Type: SystemString
File or folder path.
access
Type: System.IOFileAccess
The requested access to the file or folder.
mode
Type: System.IOFileMode
Specifies how the operating system should open a file.
share
Type: System.IOFileShare
The requested sharing mode of the file or folder.

Return Value

Type: WindowsFileSystemItem
Returns instance of WindowsFileSystemItem class.
See Also