Clear Method

Applies to TestComplete 15.47, last modified on January 20, 2023

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