Clear Method

Applies to TestComplete 15.45, last modified on December 01, 2022

Removes all items from the collection.

Declaration

collectionObj.Clear()
collectionObj     One of the objects listed in the Applies To section  
Result     None  

Applies To

This method applies to the following objects:

TcxEditButtons, TcxRadioGroupItems

Description

Use the Clear method to delete all items from the collection represented by the given collectionObj object. To delete a single item, use the Delete method.

See Also

Add Method
Delete Method

Highlight search results