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


IMapDescription2.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 > IMapDescription2 Interface > IMapDescription2.Name Property
ArcGIS Developer Help

IMapDescription2.Name Property

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(
  System.String* 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

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

IMapDescription2 Interface