com.esri.arcgis.cartoUI
Interface ISQLQueryDialog2

All Superinterfaces:
Serializable
All Known Implementing Classes:
SQLQueryDialog

public interface ISQLQueryDialog2
extends Serializable

Provides access to members that control the SQL Query Dialog.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean doModal(String initialSqlQuery, IFeatureClass pFeatureClass, int hwnd)
          Shows the SQL query dialog.
 boolean doModalEx(String initialSqlQuery, IFeatureLayer pLayer, int hwnd)
          Shows the SQL query dialog.
 String getSQLQuery()
          The SQL query entered in the dialog.
 

Method Detail

getSQLQuery

String getSQLQuery()
                   throws IOException,
                          AutomationException
The SQL query entered in the dialog.

Product Availability

Available with ArcGIS Desktop.

Returns:
The val
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

boolean doModal(String initialSqlQuery,
                IFeatureClass pFeatureClass,
                int hwnd)
                throws IOException,
                       AutomationException
Shows the SQL query dialog.

Product Availability

Available with ArcGIS Desktop.

Parameters:
initialSqlQuery - The initialSqlQuery (in)
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
hwnd - The hwnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEx

boolean doModalEx(String initialSqlQuery,
                  IFeatureLayer pLayer,
                  int hwnd)
                  throws IOException,
                         AutomationException
Shows the SQL query dialog.

Product Availability

Available with ArcGIS Desktop.

Parameters:
initialSqlQuery - The initialSqlQuery (in)
pLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
hwnd - The hwnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.