ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasDatasetLayer Class / SelectionCount Property
Example

In This Topic
    SelectionCount Property (LasDatasetLayer)
    In This Topic
    Gets the number of points selected in the layer.
    Syntax
    Public ReadOnly Property SelectionCount As Integer
    public int SelectionCount {get;}
    Example
    Determine if Layer has selection
    {
      // get selection count
      var count = lasDatasetLayer.SelectionCount;
      // does the layer have a selection
      var hasSelection = lasDatasetLayer.HasSelection;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also