OpenXmlElement.IsBefore(OpenXmlElement) 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.
Determines if the current element appears before a specified element in document order.
public bool IsBefore (DocumentFormat.OpenXml.OpenXmlElement element);
member this.IsBefore : DocumentFormat.OpenXml.OpenXmlElement -> bool
Public Function IsBefore (element As OpenXmlElement) As Boolean
Parameters
- element
- OpenXmlElement
The element to compare for order.
Returns
Returns true if the current element appears before the specified element in document order; otherwise returns false.