OpenXmlElement.PreviousSibling Method

Gets the OpenXmlElement immediately preceding this OpenXmlElement. If there is no such preceding OpenXmlElement, a null reference (Nothing in Visual Basic) is returned.

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

Syntax

声明
Public Function PreviousSibling As OpenXmlElement
用法
Dim instance As OpenXmlElement
Dim returnValue As OpenXmlElement

returnValue = instance.PreviousSibling()
public OpenXmlElement PreviousSibling()

Return Value

Type: DocumentFormat.OpenXml.OpenXmlElement
The OpenXmlElement immediately preceding this OpenXmlElement.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

PreviousSibling Overload

DocumentFormat.OpenXml Namespace