ArcGIS Pro 2.6 API Reference Guide
SetLabelVisibility Method (FeatureLayer)

ArcGIS.Desktop.Mapping Namespace > FeatureLayer Class : SetLabelVisibility Method
true make labels to draw.
Toggles the feature layer's label's visibility. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void SetLabelVisibility( 
   bool isLabelVisible
)
Public Sub SetLabelVisibility( _
   ByVal isLabelVisible As Boolean _
) 

Parameters

isLabelVisible
true make labels to draw.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

FeatureLayer Class
FeatureLayer Members