ArcObjects Library Reference (Carto)  

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(
  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

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