ArcGIS Pro 2.9 API Reference Guide
Remove(IReadOnlyList<Guid>) Method

ArcGIS.Core.Data Namespace > Selection Class > Remove Method : Remove(IReadOnlyList<Guid>) Method
A list containing the global IDs of rows to be removed from the selection.
Removes a list of rows from the selection based on global IDs. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Remove( 
   IReadOnlyList<Guid> globalIDs
)
Public Overloads Sub Remove( _
   ByVal globalIDs As IReadOnlyList(Of Guid) _
) 

Parameters

globalIDs
A list containing the global IDs of rows to be removed from the selection.
Exceptions
ExceptionDescription
globalIDs is null.
SelectionType is not SelectionType.GlobalID.
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Selection Class
Selection Members
Overload List