Udostępnij za pośrednictwem


OpenXmlElement.ElementsBefore Method

Definition

Enumerates all of the sibling elements that precede the current element and have the same parent as the current element.

public System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> ElementsBefore ();
member this.ElementsBefore : unit -> seq<DocumentFormat.OpenXml.OpenXmlElement>
Public Iterator Function ElementsBefore () As IEnumerable(Of OpenXmlElement)

Returns

An IEnumerable object that contains a list of OpenXmlElement elements.

Applies to