Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OpenXmlElement.PreviousSibling method

Gets the OpenXmlElement element that immediately precedes the current OpenXmlElement element. Returns null (Nothing in Visual Basic ) if there is no preceding OpenXmlElement element.

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

public OpenXmlElement PreviousSibling()

Return value

Type: DocumentFormat.OpenXml.OpenXmlElement
The OpenXmlElement element that immediately precedes the current OpenXmlElement element.
Show:
© 2015 Microsoft