OpenXmlElement.NextSibling<T> Method

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

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

Syntax

'Declaration
Public Function NextSibling(Of T As OpenXmlElement) As T
'Usage
Dim instance As OpenXmlElement
Dim returnValue As T

returnValue = instance.NextSibling()
public T NextSibling<T>()
where T : OpenXmlElement

Type Parameters

  • T

Return Value

Type: T
The OpenXmlElement in the specified type following this OpenXmlElement.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

NextSibling Overload

DocumentFormat.OpenXml Namespace