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


IGxSelection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxSelection Interface
ArcGIS Developer Help

IGxSelection Interface

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

Product Availability

Available with ArcGIS Desktop.

Members

Name 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.

Classes that implement IGxSelection

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

.NET Samples

Custom Root Object (Style Gallery) Extent view Text View tab