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


IMapFrame.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 > IMapFrame Interface > IMapFrame.Map Property
ArcGIS Developer Help

IMapFrame.Map Property

The associated map.

[Visual Basic .NET]
Public Property Map As IMap
[C#]
public IMap Map {get; set;}
[C++]
HRESULT get_Map(
  IMap** Map
);
[C++]
HRESULT putref_Map(
  IMap* Map
);
[C++]
Parameters
Map [out, retval]

Map is a parameter of type IMap** Map [in]
Map is a parameter of type IMap*

Product Availability

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

Remarks

The Map property will return the map object contained within the frame.  Use this interface when you want to get the map.

See Also

IMapFrame Interface | MapFrame Class