OpenXmlElement.GetFirstChild<T> Method
Find the first child element in type T
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function GetFirstChild(Of T As OpenXmlElement) As T
'Usage
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