This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMaps Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control the maps collection. Note: the IMaps interface has been superseded byIMaps2. Please consider using the more recent version.
Description | ||
---|---|---|
Add | Adds a map to the collection. | |
Count | Number of maps. | |
Create | Creates a new map. | |
Item | The map at the given index. | |
Remove | Removes a map from the collection. | |
RemoveAt | Removes a map at the specified index. | |
Reset | Removes all maps from the collection. |
CoClasses and Classes | Description |
---|---|
Maps (esriArcMapUI) | Helper for working with the IMaps interface. |
TxMaps (esriTrackingAnalyst) | TxMaps is a container class that holds a list or array of objects implementing IMap. |
Use IMaps interface to get access to a collection of Maps object using IMxDocument.Maps property.
Please ignore the above statement in the Product Availability section. IMaps interface is NOT available with ArcGIS for Server and ArcGIS Engine since this interface is used to get access to a Maps object, which is a non-creatable object. References to non-creatable objects must be obtained through other objects. IMaps interface is available only with ArcGIS for Desktop.