Clear (ColumnHeader, ListItem, Nodes)

This method removes all objects in a collection.

Syntax

object.Clear

Parameters

object
Object expression that evaluates to a ColumnHeader, ListItem,.or Nodes collection.

Return Value

None.

Remarks

To remove only one object from a collection, use the Remove method.