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


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

esriSelectionOption Constants

Selection Option.

Constant Value Description
esriSelectionOptionNormal 1 Normal - the selection is created based on the input query filter, all rows are selected if the query filter is null.
esriSelectionOptionOnlyOne 2 Only One - the selection is created based on the input query filter, only the first row is selected.
esriSelectionOptionEmpty 3 Empty - an empty selection is created.

Product Availability

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

Remarks

These enumerators are used in conjunction with a QueryFilter by ITable::Select, IFeatureClass::Select, IFeatureLayer::Select and define the content of the SelectionSet returned by these method.

esriSelectionOptionNormal
The selection is created based on the input query filter, all rows are selected if the query filter is null

esriSelectionOptionOnlyOne
The selection is created based on the input query filter, only the first row is selected

esriSelectionOptionEmpty
An empty selection is created