esriSelectionType Constants

Selection Type.

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

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.

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

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

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close