本文介绍了将对象存储到Windows 8应用程序中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 (Windows 8应用程序,C#) 我在每个对象中都有许多图像(.jpg)和音频文件(.mp3)。我想将这些对象存储在单独的文件中,然后再检索内容。我搜索了对象序列化,但找不到适合Windows 8应用程序的示例。 那么,在Windows 8应用程序(C#)中将对象保存到文件的方法是什么。 如果是对象序列化,请提供示例代码或一个链接。解决方案 看看这个提示: Windows 8 App - 使用Windows.Storage命名空间的文件中的数据存储 [ ^ ] (Windows 8 Apps, C#)Hi,I have a number of Images(.jpg) and Audio-files(.mp3) in each object. I would like to store these objects in separate files and retrieve the content later. I searched for Object Serialization, but could not find a right example for Windows 8 apps. So, what are the ways of saving the objects to files in Windows 8 apps(C#).If it is Object Serialization, please give a sample piece of code or a link to it. 解决方案 Have a look at this Tip:Windows 8 App - Data storage in files using Windows.Storage namespace[^] 这篇关于将对象存储到Windows 8应用程序中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-30 16:52