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

esriSelectionType Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Constants > E > esriSelectionType Constants
ArcGIS Developer Help

esriSelectionType Constants

Selection Type.

Constant Value Description
esriSelectionTypeIDSet 1 IDSet.
esriSelectionTypeSnapshot 2 Snapshot.
esriSelectionTypeHybrid 3 Snapshot if small, else an ID Set.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


These enumerators are used to specify the type of SelectionSets returned by ITable::Select, IFeatureClass::Select, IFeatureLayer::Select.

Depending on the number of rows or features selected this option lets you define if the SelectionSet will store only IDs or a set of instantiated rows in memory.

The selection is always based on a persistent set of OIDs (e.g. logfiles for ArcSDE)

The selection is always based on a set of in-memory rows (e.g. no logfile just in-memory IRow(s))

The selection itself decides how to manage its representation (e.g. it may morph between IDSet and Snapshot)