ArcObjects Library Reference (GeoDatabase)  

ITable Interface

Provides access to members that return information about and manage tables.

Product Availability

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

Members

Description
Method AddField Adds a field to this object class.
Method AddIndex Adds an index to this object class.
Read-only property CLSID The GUID for the COM Class (CoClass) corresponding to instances of this object class.
Method CreateRow Creates a row in the database with a system assigned object ID and null property values.
Method CreateRowBuffer Creates a row buffer that can be used with an insert cursor.
Method DeleteField Deletes a field from this object class.
Method DeleteIndex Deletes an index from this object class.
Method DeleteSearchedRows Delete the Rows in the database selected by the specified query.
Read-only property EXTCLSID The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.
Read-only property Extension The extension for this object class.
Read-only property ExtensionProperties The extension properties for this object class.
Read-only property Fields The fields collection for this object class.
Method FindField The index of the field with the specified name.
Method GetRow The row from the database with the specified object ID.
Method GetRows The cursor of rows based on a set of object ids.
Read-only property HasOID Indicates if the class has an object identity (OID) field.
Read-only property Indexes The indexes collection for this object class.
Method Insert Returns a cursor that can be used to insert new Rows.
Read-only property OIDFieldName The name of the field corresponding to the OID.
Method RowCount The number of Rows selected by the specified query.
Method Search An object cursor that can be used to fetch row objects selected by the specified query.
Method Select A selection that contains the object ids selected by the specified query.
Method Update Returns a cursor that can be used to update Rows selected by the specified query.
Method UpdateSearchedRows Update the Rows in the database selected by the specified query.

Inherited Interfaces

Interfaces Description
IClass Provides access to members that return information about and manage the class.

CoClasses that implement ITable

CoClasses and Classes Description
AttributedRelationshipClass ESRI Attributed Relationship Class object.
CadAnnotationLayer (esriCarto) An ESRI Cad annotation layer.
CadastralFabricSubLayer (esriCarto) Cadastral Fabric Feature Layer Object.
CadFeatureLayer (esriCarto) ESRI CAD Feature Layer class.
CoverageAnnotationLayer (esriCarto) An ESRI coverage annotation layer.
DimensionLayer (esriCarto) A collection of properties for a dimension layer.
FDOGraphicsLayer (esriCarto) A collection of properties for an annotation layer (feature data object graphics layer).
FeatureClass ESRI Feature Class object.
FeatureLayer (esriCarto) A collection of features and their visual representation.
GdbRasterCatalogLayer (esriCarto) Geodabase RasterCatalog source and display options.
ImageServerLayer (esriCarto) Image server layer source and display options.
IMSSubFeatureLayer (esriCarto) A collection of IMS features as a sublayer of an IMSMapLayer.
MADtedLayer (esriDefenseSolutions) A layer used to control the display of MA DTED Catalogs.
MARasterLayer (esriDefenseSolutions) A layer used to control the display of MA RPF Catalogs.
NAClass (esriNetworkAnalyst) Holds features used as input and generated as output during network analysis.
ObjectClass ESRI Object Class object.
RasterBand (esriDataSourcesRaster) A representation of a single band of a raster dataset on disk.
RasterCatalog A collection of raster datasets in a Geodatabase table.
RasterLayer (esriCarto) Raster layer source and display options.
RelQueryTable An object that joins two datasets based on common data values.
RouteEventSource (esriLocation) Route event source object.
SchematicDiagramClass (esriSchematic) Schematic diagram class object.
SchematicElementClass (esriSchematic) Schematic element class object.
SchematicInMemoryFeatureClass (esriSchematic) Schematic in memory feature class object.
StandaloneTable (esriCarto) A standalone table.
Table ESRI Table object.
TemporalFeatureClass (esriTrackingAnalyst) Controls settings for the temporal feature class.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
TemporalRecordSet (esriTrackingAnalyst) Defines the COM coclass for the TemporalRecordSet COM object.
XYEventSource XY event source object.

Remarks

The ITable interface is the principal interface for working with tables. It inherits from IClass and provides additional methods that allow you to query, select, insert, update and delete rows from the table.

All modifications to rows in the table through this interface will preserve object behavior associated with the table. For example, using DeleteSearchedRows on a table that is the origin of a composite relationship will delete rows from the related object class.

.NET Snippets

Write Blob Field Contents To File | Get Selected Table in Contents View | Create Table | Write Blob File Contents To Table Row Field | Perform Attribute Query |

.NET Samples

Bind a geodatabase table to a .NET control (Code Files: FieldPropertyDescriptor MainWind TableWrapper) | Closest facility solver (Code Files: frmClosestFacilitySolver) | Customizing schematic feature removal events (Code Files: FeatureRemovalMgmt) | Export any network analysis class to a text file (Code Files: NAClassToTextfileCmd) | Extending the replication synchronization process (Code Files: RasterSyncWorkspaceExtension) | Implementing extended criteria for some predefined schematic rules (Code Files: PlantOnCableDiameter PlantWithoutEquipment) | Import signposts (Code Files: ImportDynamapSignsFunction ImportMultiNetSignsFunction ImportNavStreetsSignsFunction SignpostUtilities) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Migrating from VB6 to VB .NET for ArcGIS 10 (Code Files: ButtonAddIn clscopy_table_sel clsCopyTableSelection) | Multivariate renderer (Code Files: MultivariateRenderer) | Network Analyst Engine application (Code Files: frmMain) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Service area solver (Code Files: frmServiceAreaSolver) | Time Series Graph tool add-in (Code Files: TimeSeriesGraph) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) | Vehicle routing problem solver (Code Files: frmVRPSolver) |

.NET Related Topics

Updating features | Adding and deleting GlobalIDs | Copying or loading data while preserving GlobalID values | Creating an address locator | Creating tables | DataSourcesOleDB | DataSourcesRaster | Editing with the geodatabase API | Finding differences between versions | Geodatabase | Geodatabase API best practices | GeoDatabaseUI | How to access a layer's underlying data | How to build a raster attribute table | How to change label formats and marks on an axis using a line graph | How to create a 3D pie graph | How to create a box plot graph | How to create a dynamic geocoded feature class | How to create a function series graph | How to create a histogram graph | How to create a raster unique value renderer | How to create a vertical stack area graph | How to create graph series with different color types | How to create multiple vertical bar graphs | How to define a renderer for your layer | How to geocode a table of addresses | How to group data into separate lines on a line graph | How to load data into a network analysis problem | How to rematch a geocoded feature class | How to sort data in the graph | How to standardize an address | Joining data | LocationUI | Migrating VB6 to VB.NET for ArcGIS 10 | Performing basic map functions | Querying geodatabase tables | Sorting tables | Using ArcObjects as tool input | Working with indexes |