Returns a new unconnected ServiceLayer with properties equal to the current ServiceLayer.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public ServiceLayer Clone()
Visual Basic (Declaration)
Public Function Clone As ServiceLayer

Return Value

A new ServiceLayer.

Remarks

The new ServiceLayer will not be connected to its data source, or present in the map.

The Id property of the new layer will be different to that of the source object, as MapItem Ids are unique.

See Also