OpenXmlElement.ElementsBefore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.