ESRI.ArcGIS.ADF.Tasks
FindOption Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Tasks Namespace > SearchAttributesTask Class : FindOption Property




Whether to search all layers specified in the task (AllLayers), or only layers currently visible (VisibleLayers).

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(True)>
<DefaultValueAttribute()>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<ResCategoryAttribute("SearchTask")>
<ResDescriptionAttribute("Whether to search all layers specified in the task or only layers currently visible.")>
Public Property FindOption As ESRI.ArcGIS.ADF.Web.FindOption
Visual Basic (Usage)Copy Code
Dim instance As SearchAttributesTask
Dim value As ESRI.ArcGIS.ADF.Web.FindOption
 
instance.FindOption = value
 
value = instance.FindOption
C# 
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[ResCategoryAttribute("SearchTask")]
[ResDescriptionAttribute("Whether to search all layers specified in the task or only layers currently visible.")]
public ESRI.ArcGIS.ADF.Web.FindOption FindOption {get; set;}

Remarks

The valid values for FindOption are AllLayers and VisibleLayers. AllLayers searches all layers included in the SearchFields property.

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.