Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgReadOnlyLayerCollection Class Reference
[MgReadOnlyLayerCollection]

Provides read only access to a collection of MgLayerBase objects. More...

Inherits MgGuardDisposable.

List of all members.

## Public Member Functions
bool | Contains (MgLayerBase *value)
| Determines if the collection contains the specified layer.
INT32 | GetCount ()
| Gets the number of layers in the collection.
MgLayerBase * | GetItem (INT32 index)
| Gets the layer at the specified index.
INT32 | IndexOf (MgLayerBase *value)
| Gets the index of the specified layer in the collection.

## Detailed Description

Provides read only access to a collection of MgLayerBase objects.

Comments or suggestions? Send us feedback.