Create a query definition object.
[Visual Basic .NET] Public Function CreateQueryDef ( _ ) As IQueryDef
[C#] public IQueryDef CreateQueryDef ( );
[C++]
HRESULT CreateQueryDef(
IQueryDef** QueryDef
);
[C++]Parameters
QueryDef [out, retval]QueryDef is a parameter of type IQueryDef
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Functional License Check
If your application/site is not appropriately licensed, CreateQueryDef can return an Err.Number of FDO_E_NO_SCHEMA_LICENSE.
Remarks
The CreateQueryDef method can be used to create a new query definition object that can be evaluated by returning a cursor.