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


IMapServer.MapCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer Interface > IMapServer.MapCount Property
ArcGIS Developer Help

IMapServer.MapCount Property

The number of maps (data frames) in the document.

[Visual Basic .NET]
Public ReadOnly Property MapCount As Integer
[C#]
public int MapCount {get;}
[C++]
HRESULT get_MapCount(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

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

See Also

IMapServer Interface