windows phone下进行Isolated的IO读写

it2022-05-05  154

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);                     }                 }             }

转载于:https://www.cnblogs.com/binaryworms/archive/2012/08/02/2620424.html


最新回复(0)