EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

IsolatedStorageFileStream Constructor (String, FileMode, FileAccess, IsolatedStorageFile)

May 11, 2014

Initializes a new instance of the IsolatedStorageFileStream class giving access to the file designated by path in the specified mode, with the specified file access, and in the context of the IsolatedStorageFile specified by isf.

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

'Déclaration
Public Sub New ( _
	path As String, _
	mode As FileMode, _
	access As FileAccess, _
	isf As IsolatedStorageFile _
)

Parameters

path
Type: System.String
The relative path of the file within isolated storage.
mode
Type: System.IO.FileMode
One of the FileMode values.
access
Type: System.IO.FileAccess
A bitwise combination of the FileAccess values.
isf
Type: System.IO.IsolatedStorage.IsolatedStorageFile
The IsolatedStorageFile in which to open the IsolatedStorageFileStream.

ExceptionCondition
IsolatedStorageException

isf has been disposed.

-or-

path is badly formed.

-or-

path is Nothing.

-or-

isf is Nothing.

-or

The directory in path does not exist.

-or-

No file was found and the mode is set to Open.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Afficher:
© 2014 Microsoft