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 );
none
Exception Type | Condition |
---|---|
IsolatedStorageException | insufficient permission to delete isolated storage file |
The deleted file cannot be recovered once deleted.
NGWS Runtime Security:
IsolatedStorageFilePermission | right to access files in the isolated storage scope |
IsolatedStorageFile Class | IsolatedStorageFile Members | System.IO.IsolatedStorage Namespace