When you call file access-related functions, you can use enumeration members in your code in place of the actual values.
The OpenAccess enumeration defines constants used to identify how a file can be accessed. The following table lists the OpenAccess enumeration members.
Member | Description |
---|---|
OpenAccess.Default | Read and write permitted. This is the default. |
OpenAccess.Read | Read permitted. |
OpenAccess.ReadWrite | Read and write permitted. |
OpenAccess.Write | Write permitted. |