Share via


OpenXmlElement.GetFirstChild<T> Method

Find the first child element in type T

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

Syntax

'宣言
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

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace