Click or drag to resize

OpenXmlElementPreviousSiblingT Method

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

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public T PreviousSibling<T>()
where T : OpenXmlElement

Type Parameters

T

Return Value

T
The OpenXmlElement element with the specified type that precedes the current OpenXmlElement element.
See Also