 | 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.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic T PreviousSibling<T>()
where T : OpenXmlElement
Public Function PreviousSibling(Of T As OpenXmlElement) As T
public:
generic<typename T>
where T : OpenXmlElement
T PreviousSibling()
member PreviousSibling : unit -> 'T when 'T : OpenXmlElement
Type Parameters
- T
Return Value
TThe OpenXmlElement element with the specified type that precedes the current OpenXmlElement element.
See Also