ArcGIS Pro 2.7 API Reference Guide
GetDefinition Method (WMSSubLayer)

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

WMSSubLayer Class
WMSSubLayer Members