VB.NET - Delete File from Isolated Storage



Delete File from Isolated Storage


'Namespace: System.IO.IsolatedStorage
'Namespace: Microsoft.VisualBasic

'Dim PathToFile as String = "temp\syntaxhelp.txt"

Dim isolatedStorage As IsolatedStorageFile
isolatedStorage = IsolatedStorageFile.GetStore(IsolatedStorageScope.User Or IsolatedStorageScope.Assembly, Nothing, Nothing)
isolatedStorage.DeleteFile(PathToFile)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.