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

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

IMaps2.Count Property

Number of maps.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
public int Count {get;}
HRESULT get_Count(
  System.Int32* Count
Count [out, retval]

Count is a parameter of type long*

Product Availability

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


The Count property returns the number of Map objects in the collection.

See Also

IMaps2 Interface