Compartir a través de


OpenXmlElement.ElementsBefore Method

Enumerate all the sibling elements before this element in same parent.

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

Syntax

'Declaration
Public Function ElementsBefore As IEnumerable(Of OpenXmlElement)
'Usage
Dim instance As OpenXmlElement
Dim returnValue As IEnumerable(Of OpenXmlElement)

returnValue = instance.ElementsBefore()
public IEnumerable<OpenXmlElement> ElementsBefore()

Return Value

Type: System.Collections.Generic.IEnumerable<OpenXmlElement>
An IEnumerable of OpenXmlElement of all the sibling elements before this element in same parent.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace