GetFirstChild(T) method

OpenXmlElement.GetFirstChild<T> method

Office 2013 and later

Finds the first child element in type T.

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

public T GetFirstChild<T>()
where T : OpenXmlElement

Type parameters

T

Type of element.

Return value

Type: T
Show:
© 2016 Microsoft