OpenXmlCompositeElement.FirstChild Property

Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned.

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

Syntax

'Declaration
Public Overrides ReadOnly Property FirstChild As OpenXmlElement
    Get
'Usage
Dim instance As OpenXmlCompositeElement
Dim value As OpenXmlElement

value = instance.FirstChild
public override OpenXmlElement FirstChild { get; }

Property Value

Type: DocumentFormat.OpenXml.OpenXmlElement
Returns OpenXmlElement.

See Also

Reference

OpenXmlCompositeElement Class

OpenXmlCompositeElement Members

DocumentFormat.OpenXml Namespace