MoveToFirstElement Method
Definition
- Namespace
- Cuemon.Extensions.Xml
- Assemblies
- Cuemon.Extensions.Xml.dll
MoveToFirstElement(XmlReader)
Moves the reader to the first element.
public static bool MoveToFirstElement(this XmlReader reader)
Parameters
Returns
- bool
trueif an element exists (the reader moves to the first element), otherwise,false(the reader has reached EOF).
Exceptions
- ArgumentNullException
readeris null.- ArgumentException
The Read() method of the
readerobject has already been called.