The Erase method deletes all items in a selection set. The selection set still exists, but won't contain any items. The items that previously resided in the selection set no longer exist.
Syntax
object.Erase()
Where:
object is a SelectionSet object.
Examples...
Erase method example