Click or drag to resize
IsolatedStorageFileCreateFile Method
Creates a file in the isolated store.

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public IsolatedStorageFileStream CreateFile(
	string path
)

Parameters

path
Type: SystemString
The relative path of the file to create.

Return Value

Type: IsolatedStorageFileStream
A new isolated storage file.
Exceptions
ExceptionCondition
IsolatedStorageExceptionThe isolated store has been removed. -or-Isolated storage is disabled.
ArgumentExceptionpath is malformed.
ArgumentNullExceptionpath is null.
DirectoryNotFoundExceptionThe directory in path does not exist.
ObjectDisposedExceptionThe isolated store has been disposed.
See Also