Share via


OpenXmlElement.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 Overridable ReadOnly Property LastChild As OpenXmlElement
    Get
'Usage
Dim instance As OpenXmlElement
Dim value As OpenXmlElement

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

Property Value

Type: DocumentFormat.OpenXml.OpenXmlElement
Returns OpenXmlElement.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace