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 > IMapDescription2 Interface > IMapDescription2.Name Property (ArcObjects .NET 10.5 SDK) |
The name of the map (data frame).
[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
If two (or more) data frames have the same name in the map document, MapServer adds a distinctive number at the end of the second name. E.g. Layers and Layers2.