ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / DeleteSelected Method
Example

In This Topic
    DeleteSelected Method (TableView)
    In This Topic
    Deletes the selected rows in the table view.
    Syntax
    public void DeleteSelected()
    Public Sub DeleteSelected() 
    Example
    Delete Selected Rows
    var tv = TableView.Active;
    if (tv == null)
      return;
    
    if (tv.CanDeleteSelected)
      tv.DeleteSelected(); 
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also