Share via


OpenXmlElement.IsBefore(OpenXmlElement) Method

Definition

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.

Applies to