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




The layer formats with which task results are rendered when UseCustomLayerFormat is set to True.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
<ResCategoryAttribute("SearchTask")>
<ResDescriptionAttribute("The layer format with which task results are rendered when UseCustomLayerFormat is set to True.")>
<DefaultValueAttribute()>
<TypeConverterAttribute("ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.LayerFormatCollectionConverter, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
Public Property CustomLayerFormats As LayerFormatCollection
Visual Basic (Usage)Copy Code
Dim instance As SearchAttributesTask
Dim value As LayerFormatCollection
 
instance.CustomLayerFormats = value
 
value = instance.CustomLayerFormats
C# 
[BrowsableAttribute(false)]
[ResCategoryAttribute("SearchTask")]
[ResDescriptionAttribute("The layer format with which task results are rendered when UseCustomLayerFormat is set to True.")]
[DefaultValueAttribute()]
[TypeConverterAttribute("ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.LayerFormatCollectionConverter, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
public LayerFormatCollection CustomLayerFormats {get; set;}

Remarks

If a layer used in the SearchFields changes, the custom LayerFormat for that layer will be cleared out.

See Also

© 2010 All Rights Reserved.