ArcObjects Library Reference  (GeoDatabase)    

ITable.Update Method

Returns a cursor that can be used to update Rows selected by the specified query.

[Visual Basic 6.0]
Function Update(
    ByVal QueryFilter As IQueryFilter, _
    ByVal Recycling As Boolean _
) As ICursor
[Visual Basic .NET]
Public Function Update ( _
    ByVal QueryFilter As IQueryFilter, _
    ByVal Recycling As Boolean _
) As ICursor
public ICursor Update (
    IQueryFilter QueryFilter,
    bool Recycling
public ICursor update (
    IQueryFilter QueryFilter,
    Boolean Recycling
  IQueryFilter* QueryFilter,
  VARIANT_BOOL Recycling,
  ICursor** Cursor


QueryFilter [in]

  QueryFilter is a parameter of type IQueryFilter

Recycling [in]

  Recycling is a parameter of type VARIANT_BOOL

Cursor [out, retval]

  Cursor is a parameter of type ICursor

Product Availability

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


The Update method returns an update cursor that can be used to update or delete rows. It offers somewhat faster performance than multiple calls to Store or Delete on row objects fetched using a non-recycling search cursor for tables storing simple rows and simple features. There is no difference in performance for complex objects and features.

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.

See Also

ITable Interface