ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / SelectAll Method
Example

In This Topic
    SelectAll Method (TableView)
    In This Topic
    Selects all the rows in the table view.
    Syntax
    public void SelectAll()
    Public Sub SelectAll() 
    Example
    Select all rows
    var tv = TableView.Active;
    if (tv == null)
      return;
    
    if (tv.CanSelectAll)
      tv.SelectAll();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also