Share via


XmlReader.ReadToFollowing Method (String, String)

Reads until an element with the specified LocalName and Namespace URI is found.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual bool ReadToFollowing (
         stringlocalName,
         stringnamespaceURI
)

Parameters

Return Value

true if a matching element is found; otherwise false and the Name is in an end of file state.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace