FileShare Enumeration
Silverlight
Contains constants for controlling the kind of access other IsolatedStorageFileStream objects can have to the same file.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
![]() ![]() | None | Declines sharing of the current file. Any request to open the file (by this process or another process) will fail until the file is closed. |
![]() ![]() | Read | Allows subsequent opening of the file for reading. If this flag is not specified, any request to open the file for reading (by this process or another process) will fail until the file is closed. |
![]() ![]() | Write | Allows subsequent opening of the file for writing. If this flag is not specified, any request to open the file for writing (by this process or another process) will fail until the file is closed. |
![]() ![]() | ReadWrite | Allows subsequent opening of the file for reading or writing. If this flag is not specified, any request to open the file for reading or writing (by this process or another process) will fail until the file is closed. |
![]() ![]() | Delete | Allows subsequent deleting of a file. |
![]() ![]() | Inheritable | Makes the file handle inheritable by child processes. |
Specify a FileShare parameter or the IsolatedStorageFileStream.IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile) constructor overload.
The FileShare enumeration is not fully supported on a Macintosh computer.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:

