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


IMapControlDefault.Map Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IMapControlDefault.Map Property

The Map contained by the MapControl.

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

Product Availability

Available with ArcGIS Engine.

Description

This is the Map CoClass contained within the MapControl. If the Map is replaced the IMapControlEvents2::OnMapReplaced event is triggered.

See Also

IMapControlDefault Interface