Map Service GetMapCount method

Gets the number of maps (data frames) in a map service.

 

GetMapCount()

 

Return Value

 

An integer value indicating the number of maps in a map service.

 

Remarks

 

The GetMapCount method is often used in conjunction with the GetMapName method to iterate through the maps in a map service and select one based on map (data frame) name.

 

Examples

C#

VB.NET

Java