Share via


OpenXmlReader.ReadFirstChild Method

Definition

Moves to read the first child element.

public abstract bool ReadFirstChild ();
abstract member ReadFirstChild : unit -> bool
Public MustOverride Function ReadFirstChild () As Boolean

Returns

Returns true if the first child element was read successfully; false if there are no child elements to read.

Remarks

This method can only be called on element start. At the current node, the reader will move to the end tag if there is no child element.

Applies to