InvertSelection selects all deselected objects, deselects all selected objects.
Syntax
object.InvertSelection
Example
This example demonstrates how to select all unselected objects and deselect all selected objects within a map window.
MapShapes.InvertSelection
Used by: Shapes collection