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

Remarks

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

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.