Name
FileShare
Synopsis
This enumeration defines how two different processes can access the
same file. If one process is using ReadWrite
or Write
, no other process can
use the file. Similarly, if another process is using Read
, then other processes
can read from the file, but not write to it.
Public Enum FileShare None = &H000000000 Read = &H000000001 Write = &H000000002 ReadWrite = &H000000003 Inheritable = &H000000010 End Enum
Hierarchy
System.Object→System.ValueType→ System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→ FileShare
Passed To
File.Open()
, FileInfo.Open()
, FileStream.FileStream()
, System.IO.IsolatedStorage.IsolatedStorageFileStream.IsolatedStorageFileStream()
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.