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

IMapServerInfo.Name Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerInfo Interface > IMapServerInfo.Name Property
ArcGIS Developer Help

IMapServerInfo.Name Property

The name of the map (data frame).

[Visual Basic .NET]
Public ReadOnly Property Name As String
public string Name {get;}
HRESULT get_Name(
  System.String* Name
Name [out, retval]

Name is a parameter of type BSTR*

Product Availability

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


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