ArcGIS Pro 2.6 API Reference Guide
Select(QueryFilter,SelectionCombinationMethod) Method

ArcGIS.Desktop.Mapping Namespace > StandaloneTable Class > Select Method : Select(QueryFilter,SelectionCombinationMethod) Method
A query filter.
A combination method.
Selects rows based upon the specified criteria and combination method. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Overloads Function Select( _
   Optional ByVal queryFilter As QueryFilter, _
   Optional ByVal method As SelectionCombinationMethod _
) As Selection

Parameters

queryFilter
A query filter.
method
A combination method.

Return Value

A selection set.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks

Rows in the standalone table view are highlighted as a result of this method call.
If there is a definition query set on the standalone table, the Select() method will automatically work on the subset of rows in the standalone table that meet the definition criteria. You specify an additional query that will be applied after the standalone table's definition query by passing valid QueryFilter object for the QueryFilter parameter.
If the standalone table has any joins, this Select() method takes that into account.

To ensure maximum robustness, callers should explicitly dispose of the returned ArcGIS.Core.Data.Selection in either a using statement or a finally block.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

StandaloneTable Class
StandaloneTable Members
Overload List