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


ITable.Update Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITable Interface > ITable.Update Method
ArcGIS Developer Help

ITable.Update Method

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

[Visual Basic .NET]
Public Function Update ( _
    ByVal QueryFilter As IQueryFilter, _
    ByVal Recycling As Boolean _
) As ICursor
[C#]
public ICursor Update (
    IQueryFilter QueryFilter,
    bool Recycling
);
[C++]
HRESULT Update(
  IQueryFilter* QueryFilter,
  VARIANT_BOOL Recycling
);
[C++]
Parameters
QueryFilter [in]

QueryFilter is a parameter of type IQueryFilter* Recycling [in]
Recycling is a parameter of type bool

Product Availability

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

Remarks

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.

When using cursors within an edit session, they should always be scoped to edit operations. In other words, a cursor should be created after an edit operation has begun and should not be used once that edit operation has been stopped or aborted.

See Also

ITable Interface