Partager via


SerializationUtilities.SkipToFirstChild(XmlReader) Method

Definition

Move the reader to the open tag of the first child element.

  • If the reader is not on a open tag (including empty tag), the method does nothing (no move).
  • If the reader doesn't have any nested child element, the method will move the reader to the matching close tag.
public:
 static void SkipToFirstChild(System::Xml::XmlReader ^ reader);
public static void SkipToFirstChild (System.Xml.XmlReader reader);
static member SkipToFirstChild : System.Xml.XmlReader -> unit
Public Shared Sub SkipToFirstChild (reader As XmlReader)

Parameters

reader
XmlReader

The reader to move.

Applies to