 | OpenXmlPartReaderReadFirstChild Method |
Moves to read the first child element.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic override bool ReadFirstChild()
Public Overrides Function ReadFirstChild As Boolean
public:
virtual bool ReadFirstChild() override
abstract ReadFirstChild : unit -> bool
override ReadFirstChild : unit -> bool
Return Value
BooleanReturns true if the first child element was read successfully; false if there are no child elements to read.
RemarksThis 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.
See Also