OpenXmlElement.GetFirstChild<T> Method

Definition

Finds the first child element in type T.

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

Type Parameters

T

Type of element.

Returns

T

Applies to