Share via


OpenXmlCompositeElement.LastChild Property

Gets the last 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 LastChild As OpenXmlElement
    Get
'Usage
Dim instance As OpenXmlCompositeElement
Dim value As OpenXmlElement

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

Property Value

Type: DocumentFormat.OpenXml.OpenXmlElement
Returns OpenXmlElement.

See Also

Reference

OpenXmlCompositeElement Class

OpenXmlCompositeElement Members

DocumentFormat.OpenXml Namespace