This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IQ > IQueryDef Interface > IQueryDef.Evaluate Method (ArcObjects .NET 10.5 SDK) |
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
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.