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


IQuery Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Catalog)  

IQuery Interface

Provides access to members that let you modify a query.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method AddFieldQuery Adds a field query.
Read-only property ClassID Class ID indicating the type of query object that has been defined.
Read/write property DatasetName Name of the dataset for which to search.
Read/write property DatasetType Type of object for which to search.
Read/write property Date1 Start date, or first date.
Read/write property Date2 End date, or second date.
Read/write property DateOperator Operator for comparing dates.
Read/write property DateType Date that will be tested.
Read-only property EngineProperties Property set containing properties of the search engine that will be used to execute the query.
Read/write property Envelope Search extent in decimal degrees.
Read/write property EnvelopeOperator Operator for comparing the dataset's extent to the search extent.
Method GetFieldQuery Returns the nth field query.
Read/write property IsCaseSensitive Indicates if field query comparisons will be case sensitive.
Method Load Loads the query's parameters from the given XML property set.
Read/write property NameOfQuery Name of the query.
Read/write property NativeEnvelope Search extent in the dataset's coordinate system.
Read-only property NumFieldQueries Number of field queries.
Method Save Saves the query's parameters to the given XML property set.

CoClasses that implement IQuery

CoClasses and Classes Description
FileSystemQuery (esriCatalogUI) A query that can be used to search XML documents.