This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer3 Interface > IMapServer3.DefaultMapName Property (ArcObjects .NET 10.4 SDK) |
Name of the document's active map (data frame).
[Visual Basic .NET] Public ReadOnly Property DefaultMapName As String
[C#] public string DefaultMapName {get;}
[C++]
HRESULT get_DefaultMapName(
BSTR* MapName
);
[C++]
Parameters MapName [out, retval] MapName is a parameter of type BSTR
If two (or more) data frames have the same name, Map Server adds a distinctive number at the end of the second name. E.g. Layers and Layers2.