OpenXmlElement.IsBefore Method

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

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Function IsBefore ( _
    element As OpenXmlElement _
) As Boolean
Dim instance As OpenXmlElement
Dim element As OpenXmlElement
Dim returnValue As Boolean

returnValue = instance.IsBefore(element)
public bool IsBefore(
    OpenXmlElement element


Return Value

Type: System.Boolean
true if this element apperas before the specified element in document order; otherwise false.

See Also


OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace