New IsolatedStorageFileStream : IsolatedStorageFileStream « System.IO.IsolatedStorage « VB.Net by API






New IsolatedStorageFileStream

  

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

   
    
  








Related examples in the same category

1.IsolatedStorageFileStream.CreateDirectory
2.IsolatedStorageFileStream.DeleteDirectory
3.IsolatedStorageFileStream.DeleteFile