OpenXmlElement.GetFirstChild<T> 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.
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