This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMap Interface > IMap.Name Property (ArcObjects .NET 10.4 SDK) |
Name of the map.
[Visual Basic .NET] Public Property Name As String
[C#] public string Name {get; set;}
[C++]
HRESULT get_Name(
BSTR* Name
);
[C++]
HRESULT put_Name(
BSTR Name
);
[C++]
Parameters Name [out, retval] Name is a parameter of type BSTR Name [in] Name is a parameter of type BSTR
Each map has a name controlled by this property. The default name of the first map is 'Layers' and new maps get the name 'New Data Frame', 'New Data Frame 2' and so on. The name of each map appears in the Display and Source content views in the table of contents.