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


IQueryDef.Evaluate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IQ > IQueryDef Interface > IQueryDef.Evaluate Method
ArcGIS Developer Help

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(
void
);

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