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


IGridTableOp.Update Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IGridTableOp.Update Method

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

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

Parameters inputGrid [in]
inputGrid is a parameter of type IRasterDataset 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.

Remarks

inputGrid

an input grid or IRasterDataset

QueryFilter

query filter object used to update the grid table based on the selected set of attribute values

recycling

The recycling parameter controls row object allocation behavior. It controls how sequential row sets behave when pointing to data.

If True, the the same row set is used to update the table. Data is overwritten each time the cursor chages position.

If False, a new row set is allocated each time the cursor position changes.

See Also

IGridTableOp Interface