Clearing the contents of a list box


To clear out the contents of a list box the Delete() method is called without any parameters. For example the following would clear the contents of the list box:

.listControl1.Delete()