ArcGIS Pro 2.8 API Reference Guide
WebMapLayerID Property

ArcGIS.Core.CIM Namespace > CIMBaseLayer Class : WebMapLayerID Property
Gets or sets an identifier that will be used to identify the layer in a web map. This value is present if the layer originated in a web map and facilitates matching the layer back to its origin when updating the web map.
Syntax
public string WebMapLayerID {get; set;}
Public Property WebMapLayerID As String
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CIMBaseLayer Class
CIMBaseLayer Members