Gets the MapLayerInfo object for the specified layer.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function GetLayerInfo( _
ByVal layerID As Integer, _
ByVal layerInfos() As ESRI.ArcGIS.ADF.ArcGISServer.MapLayerInfo _
) As ESRI.ArcGIS.ADF.ArcGISServer.MapLayerInfo |
Visual Basic (Usage) | Copy Code |
---|
Dim layerID As Integer
Dim layerInfos() As ESRI.ArcGIS.ADF.ArcGISServer.MapLayerInfo
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.MapLayerInfo
value = MapFunctionality.GetLayerInfo(layerID, layerInfos) |
C# | |
---|
public static ESRI.ArcGIS.ADF.ArcGISServer.MapLayerInfo GetLayerInfo(
int layerID,
ESRI.ArcGIS.ADF.ArcGISServer.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
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