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




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

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("SearchTask")>
<BrowsableAttribute(True)>
<ResDescriptionAttribute("Fields to Search")>
<DefaultValueAttribute()>
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# 
[ResCategoryAttribute("SearchTask")]
[BrowsableAttribute(true)]
[ResDescriptionAttribute("Fields to Search")]
[DefaultValueAttribute()]
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

See Also

© 2010 All Rights Reserved.