This document is archived and information here might be outdated.  Recommended version.


IXMLReader Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLReader Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IXMLReader Interface

Provides access to members that control the sequential reading of XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Read-only property Attributes Attributes of current element.
Method CloseElement Moves position to parent element.
Read-only property HasElementChildren Indicates whether the current element has child elements.
Read-only property IsLastChild Indicates whether the current element is the last child element of its parent.
Read-only property LocalName Local name of current element.
Method LookupPrefix Obtains the prefix for a declared URI.
Read-only property NamespaceDeclarations Namespace declarations of current element.
Read-only property NamespacePrefix Namespace prefix of current element.
Read-only property NamespaceURI Namespace URI of current element.
Method NextElement Moves position to next element.
Method OpenElement Moves position to first child element.
Method ReadBinary Reads the current element value as a binary array.
Method ReadBoolean Reads the current element value as a boolean.
Method ReadByte Reads the current element value as a byte.
Method ReadDate Reads the current element value as a date.
Method ReadDouble Reads the current element value as a double.
Method ReadFloat Reads the current element value as a float.
Method ReadFrom Specifies the input XML stream.
Method ReadInteger Reads the current element value as a long.
Method ReadShort Reads the current element value as a short.
Method ReadVariant Reads the current element value as a variant.
Read-only property Text Text value of current element.

CoClasses that implement IXMLReader

CoClasses and Classes Description
XMLReader An XML sequential document reader.

Remarks

The IXMLReader interface provides twenty two methods to use for reading specific data elements.

.NET Snippets

Deserialize an XML File