ArcGIS Pro 2.6 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, Windows 7

See Also

Reference

ServiceSubLayer Class
ServiceSubLayer Members