OpenXmlElement.GetFirstChild<T> Method

Find the first child element in type T

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Function GetFirstChild(Of T As OpenXmlElement) As T
Dim instance As OpenXmlElement
Dim returnValue As T

returnValue = instance.GetFirstChild()
public T GetFirstChild<T>()
where T : OpenXmlElement

Type Parameters

  • T
    Type of element

Return Value

Type: T

See Also


OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace