android - 完全使用适用于 Android 的 xml Mono

标签 android xml xamarin.android

在标准平台上使用 Mono for Android 读取 XML 文件的最佳方式与 RSS 相同吗?

最佳答案

使用XDocument类,可以在System.Xml.Linq中找到

XDocument xdoc = XDocument.Load("data.xml");

并查看 MSDN 上的文档。

http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.aspx

关于android - 完全使用适用于 Android 的 xml Mono,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12952013/

相关文章:

android - 如何编辑现有的 Android 应用程序,使应用程序的名称和图标不同

android - 错误 XA0000 : Could not determine API level for $(TargetFrameworkVersion) of 'v7.1'

xamarin.ios - MonoTouch 和 Mono for Android 中的 Entity Framework 支持

c# - C# 中的 SAML 断言 WriteXML 问题

android - 横向模式 - Android

android - 如何创建正方形布局并将其水平居中

android - 在android中流式传输音频

java - 简单的 : Element 'id' is already used

c# - XAMARIN:System.ArgumentException 'jobject' 不能是 IntPtr.Zero

android - Intent 仅缺少 IntentService 中的一些额外功能