ArcGIS Pro 2.9 API Reference Guide
SelectLegendClasses Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : SelectLegendClasses Method
Selects legend classes in the TOC.
Syntax
public void SelectLegendClasses( 
   IReadOnlyCollection<LegendClass> legendClasses
)
Public Sub SelectLegendClasses( _
   ByVal legendClasses As IReadOnlyCollection(Of LegendClass) _
) 

Parameters

legendClasses
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members