Opens path with the specified file mode mode.
- path
- A string containing the file name to open.
- mode
- A System.IO.FileMode value that determines how to open or create the file.
Type Reason ArgumentNullException path or mode is null. ArgumentException path is a 0-length string. System.IO.DirectoryNotFoundException path could not be opened. System.IO.IOException path exists and System.IO.FileMode.CreateNew was specified. System.IO.FileNotFoundException path doesn't exist and System.IO.FileMode.Open was specified.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0