LastSibling

This property returns a reference to the last sibling of a Node object in a TreeView control.

Syntax

node.LastSibling

Parameters

node
Object expression that evaluates to a Node object.

Remarks

The LastSibling property is read-only. The property returns the last Node at the same hierarchical level as node. The Node returned depends on the Sorted property of the TreeView control. The Child, FirstSibling, LastSibling, Previous, Parent, Next, and Root properties all return a reference to another Node object.