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




Web ADF task for finding features in one or more map layers by searching the attributes of multiple fields.

Object Model

SearchAttributesTask Class

Syntax

Visual Basic (Declaration) 
<ESRI.ArcGIS.ADF.Web.UI.WebControls.WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.SearchAttributesTaskWebConfigurator)>
<ToolboxDataAttribute("<{0}:SearchAttributesTask 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}:SearchAttributesTask>")>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.SearchAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ToolboxBitmapAttribute()>
Public Class SearchAttributesTask 
   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 SearchAttributesTask
C# 
[ESRI.ArcGIS.ADF.Web.UI.WebControls.WebConfiguratorAttribute(ESRI.ArcGIS.ADF.Tasks.SearchAttributesTaskWebConfigurator)]
[ToolboxDataAttribute("<{0}:SearchAttributesTask 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}:SearchAttributesTask>")]
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="ESRI.ArcGIS.ADF.Tasks.Design.Designers.SearchAttributesTaskDesigner, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ToolboxBitmapAttribute()]
public class SearchAttributesTask : 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 SearchAttributesTask enables users of a Web application to find features in multiple map layers based on the attribute values in the layers. The layers and fields to search are defined by the author of the application and stored in the SearchFields 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 included in the SearchFields property.

For detailed discussion of the SearchAttributesTask, see the Developer Help topic "SearchAttributesTask control", under Creating ArcGIS Server Solutions->Developing Applications->Developing Applications using the Web ADF->Web controls (also available online at the ArcGIS Resource Center).

Limitations: Feature layers in a map resource must have unique layer names to work with the SearchAttributesTask.

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.