OpenXmlReader.LoadCurrentElement Method
Load the element at current cursor.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public MustOverride Function LoadCurrentElement As OpenXmlElement
'Uso
Dim instance As OpenXmlReader
Dim returnValue As OpenXmlElement
returnValue = instance.LoadCurrentElement()
public abstract OpenXmlElement LoadCurrentElement()
Return Value
Type: DocumentFormat.OpenXml.OpenXmlElement
The OpenXmlElement.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | When the current is element end. |
Remarks
The new current element is the end of the element after LoadCurrentElement().