ArcGIS Pro 2.6 API Reference Guide
SetShowSelectionGraphic Method

ArcGIS.Desktop.Mapping Namespace > SelectionEnvironment Class : SetShowSelectionGraphic Method
The value indicating whether to display the selection graphic during selection.
Sets a value indicating whether to display the selection graphic during selection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static void SetShowSelectionGraphic( 
   bool showSelectionGraphic
)
Public Shared Sub SetShowSelectionGraphic( _
   ByVal showSelectionGraphic As Boolean _
) 

Parameters

showSelectionGraphic
The value indicating whether to display the selection graphic during selection.
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

SelectionEnvironment Class
SelectionEnvironment Members