Share via


OpenXmlDomReader.ReadFirstChild Method

Move to first child.

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

Syntax

'Declaration
Public Overrides Function ReadFirstChild As Boolean
'Usage
Dim instance As OpenXmlDomReader
Dim returnValue As Boolean

returnValue = instance.ReadFirstChild()
public override 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

OpenXmlDomReader Class

OpenXmlDomReader Members

DocumentFormat.OpenXml Namespace