FileAccess Enumeration
Silverlight
Defines constants for read, write, or read/write access to a 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 | |
|---|---|---|
![]() ![]() | Read | Read access to the file. Data can be read from the file. Combine with Write for read/write access. |
![]() ![]() | Write | Write access to the file. Data can be written to the file. Combine with Read for read/write access. |
![]() ![]() | ReadWrite | Read and write access to the file. Data can be written to and read from the file. |
Specify a FileAccess parameter in IsolatedStorageFileStream constructors.
The following example accesses a file for writing. This code example is part of a larger example provided for the IsolatedStorageFile class.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:

