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


IQueryDef.Evaluate Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IQueryDef.Evaluate Method

Evaluate the query and return a cursor on the result set.

[Visual Basic .NET]
Public Function Evaluate ( _
) As ICursor
[C#]
public ICursor Evaluate (
);
[C++]
HRESULT Evaluate(
  ICursor** Cursor
);
[C++]

Parameters Cursor [out, retval]
Cursor is a parameter of type ICursor

Product Availability

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

Remarks

The IQueryDef interface is used to set up and define the query and also provides an Evaluate method that is used to execute the query, returning a cursor.

See Also

IQueryDef Interface

.NET Related Topics

Joining data