ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / FindElevationSurfaceLayer Method
The URI of the layer. Which is unique identifier for each layer
Example Version

FindElevationSurfaceLayer Method
Finds an elevation surface layer using a URI.
Syntax
public ElevationSurfaceLayer FindElevationSurfaceLayer( 
   string layerURI
)

Parameters

layerURI
The URI of the layer. Which is unique identifier for each layer

Return Value

Example
Find an elevation surface layer
var surfaceLayers = map.GetElevationSurfaceLayers();
var surfaceLayer = surfaceLayers.FirstOrDefault(l => l.Name == "Surface2");

surfaceLayer = map.FindElevationSurfaceLayer(layerUri);
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also