System.IO.IsolatedStorage.IsolatedStorageFile.OpenFile Method

Opens a file in the specified mode with the specified read/write access.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public IsolatedStorageFileStream OpenFile (string path, System.IO.FileMode mode, System.IO.FileAccess access)

Parameters

path
The relative path of the file within the isolated store.
mode
One of the enumeration values that specifies how to open the file.
access
One of the enumeration values that specifies whether the file will be opened with read, write, or read/write access.

Returns

A file that is opened in the specified mode and access, and is unshared.

Remarks

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0