NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IsolatedStorageFile.DeleteFile

Deletes a file in the isolated storage scope.

[Visual Basic]
Public Sub DeleteFile( _
   ByVal file As String _
)
[C#]
public void DeleteFile(
   string file
);
[C++]
public: void DeleteFile(
   String* file
);
[JScript]
public function DeleteFile(
   file : String
);

Parameters

file
relative path of the file to delete within the isolated storage scope

Return Value

none

Exceptions

Exception Type Condition
IsolatedStorageException insufficient permission to delete isolated storage file

Remarks

The deleted file cannot be recovered once deleted.

Requirements

NGWS Runtime Security:

IsolatedStorageFilePermission right to access files in the isolated storage scope

See Also

IsolatedStorageFile Class | IsolatedStorageFile Members | System.IO.IsolatedStorage Namespace