OpenXmlElement.PreviousSibling 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
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>() |
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()
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 ();
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.
Applies to
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;
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
The OpenXmlElement element with the specified type that precedes the current OpenXmlElement element.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應