Compartilhar via


XMLNode.LastChild Property (Word)

Returns an XMLNode object that represents the last child node of an XML element.

Syntax

expression .LastChild

expression An expression that returns an XMLNode object.

Example

The following example accesses the last child of the second element in the active document.

Dim objNode As XMLNode 
 
Set objNode = ActiveDocument.XMLNodes(2).LastChild

See Also

Concepts

XMLNode Object

XMLNode Object Members