ArcObjects Library Reference (GeoDatabase)  

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.

Remarks

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.

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

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

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

.NET Related Topics

Executing spatial queries | Geodatabase |