ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMember Class / Name Property
Example

In This Topic
    Name Property (MapMember)
    In This Topic
    Gets the display name of the MapMember.
    Syntax
    public string Name {get;}
    Public ReadOnly Property Name As String
    Example
    Name of BuildingSceneLayer
    var bsl = MapView.Active.Map.GetLayersAsFlattenedList()
                      .OfType<BuildingSceneLayer>().FirstOrDefault();
    var scenelayerName = bsl.Name;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also