Map Service GetMapName method

Gets the name of the map (data frame) as indicated by the index value provided.

 

GetMapName(int Index)

 

Parameter

Description

Index

The index value of the map (data frame) from which to return the name. The index is 0-based.

 

Return Value

 

A string referencing the name of the map associated with the index value provided.

 

Remarks

This method is often used in conjunction with the GetMapCount method to iterate the maps in a map service, searching for a specific map name.

 

Examples

C#

VB.NET

Java