OpenXmlElement.PreviousSibling OpenXmlElement.PreviousSibling OpenXmlElement.PreviousSibling Method

Definition

Overloads

PreviousSibling() PreviousSibling() PreviousSibling()

Gets the OpenXmlElement element that immediately precedes the current OpenXmlElement element. Returns null (Nothing in Visual Basic ) if there is no preceding OpenXmlElement element.

PreviousSibling<T>() PreviousSibling<T>() PreviousSibling<T>()

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.

PreviousSibling() PreviousSibling() PreviousSibling()

Gets the OpenXmlElement element that immediately precedes the current OpenXmlElement element. Returns null (Nothing in Visual Basic ) if there is no preceding OpenXmlElement element.

public DocumentFormat.OpenXml.OpenXmlElement PreviousSibling ();
member this.PreviousSibling : unit -> DocumentFormat.OpenXml.OpenXmlElement
Public Function PreviousSibling () As OpenXmlElement

Returns

The OpenXmlElement element that immediately precedes the current OpenXmlElement element.

PreviousSibling<T>() PreviousSibling<T>() PreviousSibling<T>()

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.

public T PreviousSibling<T> () where T : DocumentFormat.OpenXml.OpenXmlElement;
member this.PreviousSibling : unit -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Function PreviousSibling(Of T As OpenXmlElement) () As T

Type Parameters

T

Returns

T T T

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

Applies to