This document is archived and information here might be outdated.  Recommended version.


IGxSelection Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Catalog)  

IGxSelection Interface

Provides access to members that manages the selection within the catalog.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method Clear Unselects all objects.
Read-only property Count The number of selected objects.
Read/write property DelayEvents Delays or resumes selection event firing. If the selection changed while events were being delayed, a single event is fired when events are resumed.
Read-only property FirstObject The first object in the selection.
Method IsSelected Checks if an object is selected.
Read-only property Location The location of the selection.
Method Select Selects an object, optionally appending it to the existing selection.
Read-only property SelectedObjects The objects in the selection.
Method SetLocation Clears the selection and sets a new location.
Method Unselect Unselects an object.

CoClasses that implement IGxSelection

CoClasses and Classes Description
GxSelection GxObject that represents the catalog's selection.

.NET Samples

Extent view (Code Files: clsExtentView) | Custom Root Object (Style Gallery) (Code Files: clsGxStyleView) | Text View tab (Code Files: TextView)

.NET Related Topics

Catalog