Share via


OpenXmlElement.ElementsBefore-Methode

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()

Rückgabewert

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

Siehe auch

Referenz

OpenXmlElement Klasse

OpenXmlElement-Member

DocumentFormat.OpenXml-Namespace