Gets the number of Layers contained in the map.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public int Count { get; }
Visual Basic (Declaration)
Public ReadOnly Property Count As Integer

Field Value

An integer indicating the number of layers in the collection.

Remarks

You cannot add or remove layers directly from the LayerOrderCollection; the contents of the collection are driven by the layers currently contained in the map.

See Also