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

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

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

Return Value

A new Layer.

Remarks

The new Layer 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.

Version Information: This method is supported from version 2.0.0.1500.

See Also