|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMaps2 Interface > IMaps2.Add Method (ArcObjects .NET 10.5 SDK) | 
Adds a map to the collection.
[Visual Basic .NET] Public Sub Add ( _ ByVal Map As IMap _ )
[C#] public void Add ( IMap Map );
[C++]
HRESULT Add(
  IMap* Map
);
[C++]
Parameters Map [in]
Map is a parameter of type IMap