This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.Map Property (ArcObjects .NET 10.5 SDK) |
The Map contained by the MapControl.
[Visual Basic .NET] Public Property Map As IMap
[C#] public IMap Map {get; set;}
[C++]
HRESULT get_Map(
IMap** pMap
);
[C++]
HRESULT putref_Map(
IMap* pMap
);
[C++]
Parameters pMap [out, retval]
pMap is a parameter of type IMap pMap [in]
pMap is a parameter of type IMap
This is the Map CoClass contained within the MapControl. If the Map is replaced the IMapControlEvents2::OnMapReplaced event is triggered.
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