Click or drag to resize

OpenXmlElementIsBefore Method

Determines if the current element appears before a specified element in document order.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public bool IsBefore(
	OpenXmlElement element
)

Parameters

element  OpenXmlElement
The element to compare for order.

Return Value

Boolean
Returns true if the current element appears before the specified element in document order; otherwise returns false.
See Also