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


IPlugInCursorHelper.QueryValues Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInCursorHelper Interface > IPlugInCursorHelper.QueryValues Method
ArcGIS Developer Help

IPlugInCursorHelper.QueryValues Method

Gets the values for the non-geometry fields in the current record.

[Visual Basic .NET]
Public Function QueryValues ( _
    ByVal Row As IRowBuffer _
) As Integer
[C#]
public int QueryValues (
    IRowBuffer Row
);
[C++]
HRESULT QueryValues(
  IRowBuffer* Row
);
[C++]
Parameters
Row [in]

Row is a parameter of type IRowBuffer*

Product Availability

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

Description

Copies data from the current record into the row that is passed in. The method should get the field-set from the row buffer. The field map passed to the Fetch method determines which fields will be copied.  For each field in the field set, the data should be copied only if the corresponding value in the field map is not -1.

However, the shape and object ID fields should NOT be copied. The shape field is handled separately in QueryShape. The object ID cannot be set through the IRowBuffer interface. Instead, the object ID should be the return value of QueryValues.

See Also

IPlugInCursorHelper Interface