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

In This Topic
    FindElevationSurfaceLayer Method
    In This Topic
    Finds an elevation surface layer using a URI.
    Syntax
    public ElevationSurfaceLayer FindElevationSurfaceLayer( 
       string layerURI
    )
    Public Function FindElevationSurfaceLayer( _
       ByVal layerURI As String _
    ) As ElevationSurfaceLayer

    Parameters

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

    Return Value

    Example
    Find an elevation surface layer
    {
      // retrieve the elevation surface layers in the map
      var surfaceLayers = map.GetElevationSurfaceLayers();
      // find a specific elevation surface layer by its URI
      var surfaceLayer = surfaceLayers.FirstOrDefault(l => l.Name == "Surface2");
      // or use the FindElevationSurfaceLayer method, passing the layer URI
      surfaceLayer = map.FindElevationSurfaceLayer("layerUri");
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also