首页 新闻 赞助 找找看

windows phone 7.1 IsolatedStorageFile

0
[已关闭问题] 关闭于 2012-03-09 10:47

code:

    private const string FolderName = "temp1/NewFolder";
        private const string FileName = FolderName + "/file.data";
        private const string Setting1 = "Setting1";

        void MainPage_Loaded(object sender, RoutedEventArgs e)
        {
            using (IsolatedStorageFile file = IsolatedStorageFile.GetUserStoreForApplication())
            {
                file.CreateDirectory(FolderName);
                
                string[] array = file.GetDirectoryNames("temp1/");
            }
        }

7.0版本中 array.Length==1 ; 但是在7.1版本中array.Length==0

貌似在7.0支持的在7.1里面倒是不支持了

正在寻找另外的方法解决7.1版本中的文件和文件夹问题

望各位不吝赐教。。。谢谢!!

Games的主页 Games | 初学一级 | 园豆:0
提问于:2011-11-24 16:00
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册