windows phone下进行Isolated的IO读写

using (System.IO.IsolatedStorage.IsolatedStorageFile isf = System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForApplication())
            {
                if (isf.FileExists(fileName))
                {
                    using(System.IO.IsolatedStorage.IsolatedStorageFileStream fs = isf.OpenFile(fileName,FileMode.Open))
                    {
                        Trips = ReadTrips(fs);
                    }
                }
            }

posted on 2012-08-02 17:30  冰危节奏  阅读(252)  评论(0编辑  收藏  举报

导航