ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetLayerInfo(Int32,MapLayerInfo[]) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapFunctionality Class > GetLayerInfo Method : GetLayerInfo(Int32,MapLayerInfo[]) Method




layerID
ID of the layer.
layerInfos
Array of MapLayerInfo objects for the data source.
Gets the MapLayerInfo object for the specified layer.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetLayerInfo( _
   ByVal layerID As Integer, _
   ByVal layerInfos() As MapLayerInfo _
) As MapLayerInfo
Visual Basic (Usage)Copy Code
Dim layerID As Integer
Dim layerInfos() As MapLayerInfo
Dim value As MapLayerInfo
 
value = MapFunctionality.GetLayerInfo(layerID, layerInfos)
C# 
public static MapLayerInfo GetLayerInfo( 
   int layerID,
   MapLayerInfo[] layerInfos
)

Parameters

layerID
ID of the layer.
layerInfos
Array of MapLayerInfo objects for the data source.

Return Value

MapLayerInfo object for the layer.

Remarks

The MapLayerInfo:ESRI.ArcGIS.ADF.ArcGISServer.MapLayerInfo% has information about the layer including minimum and maximum scales, attribute fields, IDs of any sub-layers, etc.

See Also

© 2010 All Rights Reserved.