共用方式為


ExpressionNode.MoveToElementWithCheck(XmlReader, String) Method

Definition

Moves to the node with specified type and name (if supplied)

protected static void MoveToElementWithCheck (System.Xml.XmlReader xr, string name);
static member MoveToElementWithCheck : System.Xml.XmlReader * string -> unit
Protected Shared Sub MoveToElementWithCheck (xr As XmlReader, name As String)

Parameters

name
String

node name (can be null)

Exceptions

Thrown if no node found in the stream

Applies to