ArcGIS Pro 2.6 API Reference Guide
SetKeepInvisibleFeatureSelected Method

ArcGIS.Desktop.Mapping Namespace > SelectionEnvironment Class : SetKeepInvisibleFeatureSelected Method
The value indicating whether to keep invisible features selected with a new selection.
Sets a value indicating whether to keep invisible features selected with a new selection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static void SetKeepInvisibleFeatureSelected( 
   bool keepInvisibleFeatureSelected
)
Public Shared Sub SetKeepInvisibleFeatureSelected( _
   ByVal keepInvisibleFeatureSelected As Boolean _
) 

Parameters

keepInvisibleFeatureSelected
The value indicating whether to keep invisible features selected with a new 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