XmlUtil.CheckReaderOnEntry 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
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
- 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
- element
- String
the expected element.
- namespace
- String
the expected namespace.
Exceptions
if element
is null or empty.
if reader
if not at expected element.