Udostępnij za pośrednictwem


OpenXmlElement.NextSibling Method

Definition

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

T

The OpenXmlElement element with the specified type that follows the current OpenXmlElement element.

Applies to