ExpressionNode.ReadWithCheck(XmlReader, XmlNodeType, String) 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.
Reads the next xml node and verifies it has expected type and name (if supplied)
protected static void ReadWithCheck (System.Xml.XmlReader xr, System.Xml.XmlNodeType nodeType, string name);
static member ReadWithCheck : System.Xml.XmlReader * System.Xml.XmlNodeType * string -> unit
Protected Shared Sub ReadWithCheck (xr As XmlReader, nodeType As XmlNodeType, name As String)
Parameters
- xr
- XmlReader
- nodeType
- XmlNodeType
expected node type
- name
- String
expected node name (can be null)
Exceptions
Thrown id node type and/or name don't match with provided type, name