Gets the layer name associated with the input layer ID.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function GetLayerNameFromID( _
ByVal mapServerInfo As ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo, _
ByVal layerID As Integer _
) As String |
Visual Basic (Usage) | Copy Code |
---|
Dim mapServerInfo As ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo
Dim layerID As Integer
Dim value As String
value = MapFunctionality.GetLayerNameFromID(mapServerInfo, layerID) |
Parameters
- mapServerInfo
- The MapServerInfo for the data source.
- layerID
- The ID of the layer.
Return Value
The name of the corresponding layer.
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