OpenXmlElement.NextSibling Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NextSibling() |
Gets the OpenXmlElement element that immediately follows the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement element. |
NextSibling<T>() |
Gets the OpenXmlElement element with the specified type that follows the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement. |
NextSibling()
Gets the OpenXmlElement element that immediately follows the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement element.
public DocumentFormat.OpenXml.OpenXmlElement NextSibling ();
public DocumentFormat.OpenXml.OpenXmlElement? NextSibling ();
member this.NextSibling : unit -> DocumentFormat.OpenXml.OpenXmlElement
Public Function NextSibling () As OpenXmlElement
Returns
The OpenXmlElement element that immediately follows the current OpenXmlElement element.
Applies to
NextSibling<T>()
Gets the OpenXmlElement element with the specified type that follows the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement.
public T NextSibling<T> () where T : DocumentFormat.OpenXml.OpenXmlElement;
public T? NextSibling<T> () where T : DocumentFormat.OpenXml.OpenXmlElement;
member this.NextSibling : unit -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Function NextSibling(Of T As OpenXmlElement) () As T
Type Parameters
- T
Returns
The OpenXmlElement element with the specified type that follows the current OpenXmlElement element.