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


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

IMapServerObjects3.Map Property

The map corresponding to the specified map name. Pass in a blank string for mapName to get the default map (active data frame).

[Visual Basic .NET]
Public Function get_Map ( _
    ByVal MapName As String _
) As IMap
[C#]
public IMap get_Map (
    string MapName
);
[C++]
HRESULT get_Map(
  BSTR MapName,
  IMap** mapObject
);
[C++]
Parameters
MapName [in]

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

Product Availability

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

See Also

IMapServerObjects3 Interface