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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
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