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




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

Object Model

QueryAttributesTask Class

Syntax

Visual Basic (Declaration) 
<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>")>
<ToolboxBitmapAttribute()>
<ESRI.ArcGIS.ADF.Web.UI.WebControls.WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.QueryAttributesTaskWebConfigurator)>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.QueryAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
Public Class QueryAttributesTask 
   Inherits ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanelTask
   Implements ESRI.ArcGIS.ADF.Web.UI.WebControls.IBuddyControlSupport, ESRI.ArcGIS.ADF.Web.UI.WebControls.IRelatesOnDemandProvider, ESRI.ArcGIS.ADF.Web.UI.WebControls.ITask 
Visual Basic (Usage)Copy Code
Dim instance As QueryAttributesTask
C# 
[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>")]
[ToolboxBitmapAttribute()]
[ESRI.ArcGIS.ADF.Web.UI.WebControls.WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.QueryAttributesTaskWebConfigurator)]
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.QueryAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
public class QueryAttributesTask : ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanelTask, ESRI.ArcGIS.ADF.Web.UI.WebControls.IBuddyControlSupport, ESRI.ArcGIS.ADF.Web.UI.WebControls.IRelatesOnDemandProvider, ESRI.ArcGIS.ADF.Web.UI.WebControls.ITask  

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).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.