Partager via


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)

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace