How can I serialize a class to XML using Windows Phone 8 SDK?
问题 I've got one attribute (_XMLPlaylist) that I want to serialize in a XML-file likeshown in the code: private void btn_Save_Click(object sender, RoutedEventArgs e) { _Playlist.Pl_Name = tb_Name.Text.ToString(); _XMLPlaylist.Playlists.Add(_Playlist); IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication(); using (IsolatedStorageFileStream isoStream = new IsolatedStorageFileStream(StudiCast.Resources.AppResources.Playlists, FileMode.CreateNew, isoStore)) { using