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

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

IMapControl2.Map Property

The Map contained by the MapControl.

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

Product Availability

Available with ArcGIS Engine.


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

See Also

IMapControl2 Interface | IMapControl3.MapScale Property | IMapControl4.MapScale Property | IMapControl2.MapScale Property | IMapControl2.MapUnits Property | IMapControl4.MapUnits Property | IMapControl3.MapUnits Property | IMapControl4.ReferenceScale Property | IMapControl3.ReferenceScale Property | IMapControl2.ReferenceScale Property | IMapControl2.SpatialReference Property | IMapControl4.SpatialReference Property | IMapControl3.SpatialReference Property