ArcGIS Pro 2.7 API Reference Guide
GetDefinition Method (ServiceSubLayer)

ArcGIS.Desktop.Mapping Namespace > ServiceSubLayer Class : GetDefinition Method
Gets the layer's definition which is null for service sublayers.
Syntax
public override CIMBaseLayer GetDefinition()
Public Overrides NotOverridable Function GetDefinition() As CIMBaseLayer
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ServiceSubLayer Class
ServiceSubLayer Members