Share via


XmlUtil.CheckReaderOnEntry Method

Definition

Overloads

CheckReaderOnEntry(XmlReader, String)

Checks if the XmlReader is pointing to an expected element.

CheckReaderOnEntry(XmlReader, String, String)

Checks if the XmlReader is pointing to an expected element.

CheckReaderOnEntry(XmlReader, String)

Checks if the XmlReader is pointing to an expected element.

public static void CheckReaderOnEntry (System.Xml.XmlReader reader, string element);
static member CheckReaderOnEntry : System.Xml.XmlReader * string -> unit
Public Shared Sub CheckReaderOnEntry (reader As XmlReader, element As String)

Parameters

reader
XmlReader

the XmlReaderto check.

element
String

the expected element.

Exceptions

if element is null or empty.

if reader if not at at expected element.

Applies to

CheckReaderOnEntry(XmlReader, String, String)

Checks if the XmlReader is pointing to an expected element.

public static void CheckReaderOnEntry (System.Xml.XmlReader reader, string element, string namespace);
static member CheckReaderOnEntry : System.Xml.XmlReader * string * string -> unit
Public Shared Sub CheckReaderOnEntry (reader As XmlReader, element As String, namespace As String)

Parameters

reader
XmlReader

the XmlReaderto check.

element
String

the expected element.

namespace
String

the expected namespace.

Exceptions

if element is null or empty.

if reader if not at expected element.

Applies to