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


IMapServer.DefaultMapName Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapServer.DefaultMapName Property

Name of the document's active map (data frame).

[Visual Basic .NET]
Public ReadOnly Property DefaultMapName As String
[C#]
public string DefaultMapName {get;}
[C++]
HRESULT get_DefaultMapName(
  System.String* MapName
);
[C++]

Parameters MapName [out, retval]
MapName is a parameter of type BSTR*

Product Availability

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

See Also

IMapServer Interface

.NET Related Topics

Managing application state | Map services | Server