Share via


OpenXmlReader.ReadFirstChild Method

Move to first child.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public MustOverride Function ReadFirstChild As Boolean
'Usage
Dim instance As OpenXmlReader
Dim returnValue As Boolean

returnValue = instance.ReadFirstChild()
public abstract bool ReadFirstChild()

Return Value

Type: System.Boolean
true if the first child element was read successfully; false if there are no child elements to read.

Remarks

Only can be called on element start. Current will move to the end tag if no child element.

See Also

Reference

OpenXmlReader Class

OpenXmlReader Members

DocumentFormat.OpenXml Namespace