ArcGIS Pro 2.7 API Reference Guide
GetSymbol Method (SymbolLegendClass)

ArcGIS.Desktop.Mapping Namespace > SymbolLegendClass Class : GetSymbol Method
Gets the symbol for this legend class. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public CIMSymbol GetSymbol()
Public Function GetSymbol() As CIMSymbol

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The symbol can be null depending on the legend
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SymbolLegendClass Class
SymbolLegendClass Members