This document is archived and information here might be outdated.  Recommended version.

IMxDocument.Maps Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.Maps Property
ArcGIS Developer Help

IMxDocument.Maps Property

The collection of maps in the document.

[Visual Basic .NET]
Public ReadOnly Property Maps As IMaps
public IMaps Maps {get;}

Product Availability

Available with ArcGIS Desktop.


The map document has a collection of Map objects which are accessible through this property.  The reference IMaps is typically used to add and delete maps from the collection. 

See the FocusMap property on this interface for accessing just the one map with focus.

See Also

IMxDocument Interface | IMaps Interface

.NET Samples

Schematic diagram auto refresh Implementing an XML builder external component