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




The fields to search. Includes the map resource items and layers.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<ResCategoryAttribute("SearchTask")>
<ResDescriptionAttribute("Fields to Search")>
Public Property SearchFields As String
Visual Basic (Usage)Copy Code
Dim instance As SearchAttributesTask
Dim value As String
 
instance.SearchFields = value
 
value = instance.SearchFields
C# 
[DefaultValueAttribute()]
[BrowsableAttribute(true)]
[ResCategoryAttribute("SearchTask")]
[ResDescriptionAttribute("Fields to Search")]
public string SearchFields {get; set;}

Remarks

The string includes, for each field to search, the IDs for the MapResourceManager, the MapResourceItem, and the map layer, which collectively identify the field to query. Currently these values are concatenated with ":::". When multiple fields are to be searched, the entries are separated by "^^^". An example with two fields to be searched is:

MapResourceManager1:::MapResourceItem0:::countries:::NAME^^^MapResourceManager1:::MapResourceItem0:::cities:::NAME

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.