![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer | |
UpdateVisibleLayers(MapDescription,Object[]) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapFunctionality Class : UpdateVisibleLayers(MapDescription,Object[]) Method |
- mapDesc
- The MapDescription object that has properties for the user map.
- visibleLayers
- An array of IDs of layers to set visible.
Visual Basic (Declaration) | |
---|---|
Public Shared Sub UpdateVisibleLayers( _ ByVal mapDesc As ESRI.ArcGIS.ADF.ArcGISServer.MapDescription, _ ByVal visibleLayers() As Object _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim mapDesc As ESRI.ArcGIS.ADF.ArcGISServer.MapDescription Dim visibleLayers() As Object MapFunctionality.UpdateVisibleLayers(mapDesc, visibleLayers) |
C# | |
---|---|
public static void UpdateVisibleLayers( ESRI.ArcGIS.ADF.ArcGISServer.MapDescription mapDesc, object[] visibleLayers ) |
Parameters
- mapDesc
- The MapDescription object that has properties for the user map.
- visibleLayers
- An array of IDs of layers to set visible.
The MapDescription maintains properties of the user's map when using an ArcGIS Server map service. Changing the MapDescription does not affect the state of the underlying ArcGIS Server service itself, but instead is applied to the current user's map. The Web ADF maintains the state of the MapDescription in session, in order to persist properties of the map between requests.
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