AssetManager.OpenXmlResourceParser Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenXmlResourceParser(String) |
Retrieve a parser for a compiled XML file. |
OpenXmlResourceParser(Int32, String) |
Retrieve a parser for a compiled XML file. |
OpenXmlResourceParser(String)
Retrieve a parser for a compiled XML file.
[Android.Runtime.Register("openXmlResourceParser", "(Ljava/lang/String;)Landroid/content/res/XmlResourceParser;", "")]
public System.Xml.XmlReader OpenXmlResourceParser (string fileName);
[<Android.Runtime.Register("openXmlResourceParser", "(Ljava/lang/String;)Landroid/content/res/XmlResourceParser;", "")>]
member this.OpenXmlResourceParser : string -> System.Xml.XmlReader
Parameters
- fileName
- String
The name of the file to retrieve.
Returns
- Attributes
Exceptions
Remarks
Retrieve a parser for a compiled XML file.
Java documentation for android.content.res.AssetManager.openXmlResourceParser(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
OpenXmlResourceParser(Int32, String)
Retrieve a parser for a compiled XML file.
[Android.Runtime.Register("openXmlResourceParser", "(ILjava/lang/String;)Landroid/content/res/XmlResourceParser;", "")]
public System.Xml.XmlReader OpenXmlResourceParser (int cookie, string fileName);
[<Android.Runtime.Register("openXmlResourceParser", "(ILjava/lang/String;)Landroid/content/res/XmlResourceParser;", "")>]
member this.OpenXmlResourceParser : int * string -> System.Xml.XmlReader
Parameters
- cookie
- Int32
Identifier of the package to be opened.
- fileName
- String
The name of the file to retrieve.
Returns
- Attributes
Exceptions
Remarks
Retrieve a parser for a compiled XML file.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.