FileInfoOpen Method (FileMode) |
Opens a file in the specified mode.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public FileStream Open(
FileMode mode
)
Public Function Open (
mode As FileMode
) As FileStream
public:
FileStream^ Open(
FileMode mode
)
member Open :
mode : FileMode -> FileStream
Parameters
- mode
- Type: System.IOFileMode
A FileMode constant specifying the mode (for example, Open or Append) in which to open the file.
Return Value
Type:
FileStreamA
FileStream file opened in the specified mode, with read/write access and unshared.
See Also