System::IO::FileShare enum

FileShare enum

Specifies what kind of access other FileStream objects can have to a file being opened.

enum class FileShare

Values

NameValueDescription
None0No access.
Read1Read-only access.
Write2Write-only access.
ReadWrite3Read and Write access.
Delete4The file can be deleted.
Inheritable16Makes file handle inheritable by child processes.

See Also