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


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

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