Syntax
public
static
System.IO.FileStream Open(string fileName, System.IO.FileMode fileMode, System.IO.FileAccess fileAccess, System.IO.FileShare fileShare, System.IO.FileOptions fileOptions)
Parameters
- fileName
- Type: string
The name of the file to open.
- fileMode
- Type: System.IO.FileMode
The file mode.
- fileAccess
- Type: System.IO.FileAccess
The file access.
- fileShare
- Type: System.IO.FileShare
The file sharing rules.
- fileOptions
- Type: System.IO.FileOptions
The file options.