ESRI.ArcGIS.ADF.Tasks
QueryAttributesTask Class
Members  See Also 
ESRI.ArcGIS.ADF.Tasks Namespace : QueryAttributesTask Class




A Web ADF task for querying the attributes of one map layer.

Object Model







Syntax

Visual Basic (Declaration) 
<ToolboxBitmapAttribute()>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.QueryAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.QueryAttributesTaskWebConfigurator)>
<ToolboxDataAttribute("<{0}:QueryAttributesTask runat="server" Width="200px" Transparency="35" BackColor="White" TitleBarColor="WhiteSmoke" TitleBarSeparatorLine="False" TitleBarHeight="20px" BorderColor="LightSteelBlue" BorderStyle="Outset" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black"> </{0}:QueryAttributesTask>")>
Public Class QueryAttributesTask 
   Inherits FloatingPanelTask
   Implements IBuddyControlSupportIRelatesOnDemandProviderITask 
Visual Basic (Usage)Copy Code
Dim instance As QueryAttributesTask
C# 
[ToolboxBitmapAttribute()]
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.QueryAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.QueryAttributesTaskWebConfigurator)]
[ToolboxDataAttribute("<{0}:QueryAttributesTask runat="server" Width="200px" Transparency="35" BackColor="White" TitleBarColor="WhiteSmoke" TitleBarSeparatorLine="False" TitleBarHeight="20px" BorderColor="LightSteelBlue" BorderStyle="Outset" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black"> </{0}:QueryAttributesTask>")]
public class QueryAttributesTask : FloatingPanelTask, IBuddyControlSupportIRelatesOnDemandProviderITask  

Remarks

The QueryAttributesTask enables users of a Web application to find features in a map layer based on the attribute values in the layer. The query is defined by the author of the application and stored in the PredefinedQuery property. Typically this is done in the Manager application, using the configurator for the task, or in the Visual Studio design environment, by using the design-time task editor for the task.

The task uses a GIS service from one of several types of servers, including ArcGIS Server, ArcIMS and ArcWeb Services. The service is defined by settings in the PredefinedQuery property.

For detailed discussion of the QueryAttributesTask, see the Developer Help topic "QueryAttributesTask control", under Creating ArcGIS Server Solutions->Developing Applications->Developing Applications using the Web ADF->Web controls (also available online at the ArcGIS Resource Center). Also see the topic "QueryFunctionality", under Creating ArcGIS Server Solutions->Developing Applications->Developing Applications using the Web ADF->Working with the Common Data Source API->Working with resources and functionalities -> MapResource (also available online at the ESRI Developer Network).

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         System.Web.UI.WebControls.CompositeControl
            ESRI.ArcGIS.ADF.Web.UI.WebControls.CompositeControl
               ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanel
                  ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanelTask
                     ESRI.ArcGIS.ADF.Tasks.QueryAttributesTask

See Also

© 2010 All Rights Reserved.