ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetLayerDescription Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapFunctionality Class : GetLayerDescription Method




layerID
ID of the layer.
layerDescriptions
Array of LayerDescriptions for the data source.
Gets the LayerDescription object for the input layer.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetLayerDescription( _
   ByVal layerID As Integer, _
   ByVal layerDescriptions() As ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription _
) As ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription
Visual Basic (Usage)Copy Code
Dim layerID As Integer
Dim layerDescriptions() As ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription
 
value = MapFunctionality.GetLayerDescription(layerID, layerDescriptions)
C# 
public static ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription GetLayerDescription( 
   int layerID,
   ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription[] layerDescriptions
)

Parameters

layerID
ID of the layer.
layerDescriptions
Array of LayerDescriptions for the data source.

Return Value

The LayerDescription object for the specified layer.

Remarks

The LayerDescription object returned contains settings for the layer visibility, definition expression, selection symbology, etc.

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.