The TopologyQueries command allows for the selection of features based on their topological
relationships to other features. The command allows for queries such as select the features
that share edges with the selected features, or select lines that don't have polygons on the
left or right.
How to use:
In the Customize dialog, click on 'Add from file' and select this sample's dll.
Under the Commands tab of the Customize dialog, select the TopologyQueries Command from
the 'Developer Samples' category, and drag it on to a toolbar (or onto the Selection pulldown).
Dismiss the Customize dialog.
Click on the command to bring up a dialog for making selections. You do not need to be editing
to use the tool.
Choose your options and click on the Apply button to execute the query.
In most cases you will want to click on the "Use selected features" and/or "Select only within
the visible extent" options to limit the selection.