ReadToFollowing()

XmlReader::ReadToFollowing(String) method

Reads until an element with the specified qualified name is found.

virtual bool System::Xml::XmlReader::ReadToFollowing(String name)

Arguments

ParameterTypeDescription
nameStringThe qualified name of the element.

Return Value

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

XmlReader::ReadToFollowing(String, String) method

Reads until an element with the specified local name and namespace URI is found.

virtual bool System::Xml::XmlReader::ReadToFollowing(String localName, String namespaceURI)

Arguments

ParameterTypeDescription
localNameStringThe local name of the element.
namespaceURIStringThe namespace URI of the element.

Return Value

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

See Also