ArcGIS Pro 2.9 API Reference Guide
AddSymbolLayerDrawing Method (FeatureLayer)

ArcGIS.Desktop.Mapping Namespace > FeatureLayer Class : AddSymbolLayerDrawing Method
Add Symbol Layer Drawing, SLD, to the feature layer. After adding SLD it will be enabled.This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void AddSymbolLayerDrawing()
Public Sub AddSymbolLayerDrawing() 
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
SLD cannot be added to this layer
Remarks
Use CanAddSymbolLayerDrawing to determine if the feature layer can have SLD added. If SLD cannot be added an System.InvalidOperationException will be thrown.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FeatureLayer Class
FeatureLayer Members