This document is archived and information here might be outdated.  Recommended version.


IMapServerInfo.Name Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServerInfo.Name Property

The name of the map (data frame).

[Visual Basic .NET]
Public ReadOnly Property Name As String
[C#]
public string Name {get;}
[C++]
HRESULT get_Name(
  BSTR* Name
);
[C++]

Parameters Name [out, retval] Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IMapServerInfo Interface