Esri Business Analyst Server API for Silverlight 2.2 Reference
RemoveLayersFromMapTask Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Rendering Namespace : RemoveLayersFromMapTask Class

Glossary Item Box

The Remove Layers from Map task removes layers from the default map.

Object Model

RemoveLayersFromMapTask ClassAbstractClient ClassITokenProvider Interface

Syntax

Remarks

The result of this task is a Boolean variable whose value is true if at least one layer was removed from the default map.

Example

The code snippet below executes a Remove Layers From Map task.
C#Copy Code
// The layerNames parameter specifies an array of names of layers to be removed from the map.
            
removeLayersFromMapTask.ExecuteAsync(layerNames, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractTask
      ESRI.ArcGIS.Client.BACore.Client.BATask<TResult,TEventArgs>
         ESRI.ArcGIS.Client.BAServer.Tasks.BAServerTask<TResult>
            ESRI.ArcGIS.Client.BAServer.Tasks.Rendering.RemoveLayersFromMapTask

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

© 2010-2012 Esri, Inc. All Rights Reserved.