Поделиться через


OpenXmlReader.LoadCurrentElement Method

Load the element at current cursor.

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

Syntax

'Declaration
Public MustOverride Function LoadCurrentElement As OpenXmlElement
'Usage
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().

See Also

Reference

OpenXmlReader Class

OpenXmlReader Members

DocumentFormat.OpenXml Namespace