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


ITableSelection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITableSelection Interface
ArcGIS Developer Help

ITableSelection Interface

Provides access to members that control table selection.

Product Availability

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

Description

This interface allows you to perform a selection on a layer or StandaloneTable, add a row to the current selection, and clear the selection. You can specify a selection set using SelectionSet.

Members

Name Description
Method AddRow Adds a row to the selection set (honoring the current combination method).
Method Clear Clears the selection.
Method SelectionChanged Fires the layer update event. Required when SelectionSet changes.
Read/write property SelectionSet The selected set of rows.
Method SelectRows Selects rows based upon the specified criteria and combination method.

Classes that implement ITableSelection

Classes Description
CadAnnotationLayer An Esri Cad annotation layer.
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer Esri CAD Feature Layer class.
CoverageAnnotationLayer An Esri coverage annotation layer.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
ImageServerLayer Image server layer source and display options.
RasterLayer Raster layer source and display options.
StandaloneTable A standalone table.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.

Remarks

Developers should be aware that the behavior of this interface was modified at 9.3. Prior to 9.3, cursors created from this interface's selection set included the fields from the base table and as well as those from any joined tables. From 9.3 onward, the cursor's field set only includes the fields from the base table.