ArcObjects Library Reference (Carto)  

IMapDocument.MapCount Property

The number of Map objects contained within the map document.

[Visual Basic .NET]
Public ReadOnly Property MapCount As Integer
[C#]
public int MapCount {get;}
[C++]
HRESULT get_MapCount(
  long* MapCount
);
[C++]

Parameters

MapCount [out, retval]   MapCount is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the number of map's within the PageLayout.

See Also

IMapDocument Interface