SerializationUtilities.SkipToFirstChild(XmlReader) 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.
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.