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
'宣言
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
)
Parameters
- element
Type: DocumentFormat.OpenXml.OpenXmlElement
The element to compare for order.
Return Value
Type: System.Boolean
true if this element apperas before the specified element in document order; otherwise false.