Create IsolatedStorageFileStream : IsolatedStorageFile « Stream File « VB.Net Tutorial






Imports System.IO.IsolatedStorage
        
Public Class Tester
    Public Shared Sub Main

        Dim myIsoStore As IsolatedStorageFile

        Try
            myIsoStore.CreateDirectory("newDir")

            Dim myIsoStroeStream As New IsolatedStorageFileStream("test.txt", IO.FileMode.Create.Create, myIsoStore)
            myIsoStroeStream.Close()
        Catch ex As IsolatedStorageException
            Console.WriteLine(ex.Message)
        End Try
    End Sub
End Class








13.28.IsolatedStorageFile
13.28.1.Create IsolatedStorageFileStream
13.28.2.Create IsolatedStorageFile
13.28.3.Get Directory and Files in an IsolatedStorageFile
13.28.4.Use IsolatedStorageFile.DeleteFile, DeleteDirectory