OpenXmlDomReader.LoadCurrentElement Method
Load the element at current cursor.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Overrides Function LoadCurrentElement As OpenXmlElement
'Uso
Dim instance As OpenXmlDomReader
Dim returnValue As OpenXmlElement
returnValue = instance.LoadCurrentElement()
public override 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().