ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / DeleteHighlighted Method
Example

In This Topic
    DeleteHighlighted Method (TableView)
    In This Topic
    Deletes the highlighted rows.
    Syntax
    public void DeleteHighlighted()
    Public Sub DeleteHighlighted() 
    Example
    Delete Highlighted Rows
    var tv = TableView.Active;
    if (tv == null)
      return;
    
    if (tv.CanDeleteHighlighted)
      tv.DeleteHighlighted();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also